From 6ca1a9a369b10703da9af8f8a1ced0f3b02ae5c2 Mon Sep 17 00:00:00 2001 From: Deepak Bhole Date: Mon, 6 Dec 2010 15:34:01 -0500 Subject: Fixed indentation and spacing for all .java files. Added a new .settings directory which contains Eclipse preferences for code style. --- netx/javax/jnlp/PersistenceService.java | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'netx/javax/jnlp/PersistenceService.java') diff --git a/netx/javax/jnlp/PersistenceService.java b/netx/javax/jnlp/PersistenceService.java index 008c670..10de8e6 100644 --- a/netx/javax/jnlp/PersistenceService.java +++ b/netx/javax/jnlp/PersistenceService.java @@ -1,17 +1,21 @@ - package javax.jnlp; public interface PersistenceService { - public static final int CACHED = 0; - public static final int TEMPORARY = 1; - public static final int DIRTY = 2; + public static final int CACHED = 0; + public static final int TEMPORARY = 1; + public static final int DIRTY = 2; + + public long create(java.net.URL url, long maxsize) throws java.net.MalformedURLException, java.io.IOException; + + public FileContents get(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException, java.io.FileNotFoundException; + + public void delete(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException; + + public java.lang.String[] getNames(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException; + + public int getTag(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException; - public long create(java.net.URL url, long maxsize) throws java.net.MalformedURLException, java.io.IOException; - public FileContents get(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException, java.io.FileNotFoundException; - public void delete(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException; - public java.lang.String[] getNames(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException; - public int getTag(java.net.URL url) throws java.net.MalformedURLException, java.io.IOException; - public void setTag(java.net.URL url, int tag) throws java.net.MalformedURLException, java.io.IOException; + public void setTag(java.net.URL url, int tag) throws java.net.MalformedURLException, java.io.IOException; } -- cgit v1.2.3