diff options
Diffstat (limited to 'netx/javax/jnlp/FileContents.java')
-rw-r--r-- | netx/javax/jnlp/FileContents.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/netx/javax/jnlp/FileContents.java b/netx/javax/jnlp/FileContents.java new file mode 100644 index 0000000..a612202 --- /dev/null +++ b/netx/javax/jnlp/FileContents.java @@ -0,0 +1,17 @@ + + +package javax.jnlp; + +public interface FileContents { + + public java.lang.String getName() throws java.io.IOException; + public java.io.InputStream getInputStream() throws java.io.IOException; + public java.io.OutputStream getOutputStream(boolean overwrite) throws java.io.IOException; + public long getLength() throws java.io.IOException; + public boolean canRead() throws java.io.IOException; + public boolean canWrite() throws java.io.IOException; + public JNLPRandomAccessFile getRandomAccessFile(java.lang.String mode) throws java.io.IOException; + public long getMaxLength() throws java.io.IOException; + public long setMaxLength(long maxlength) throws java.io.IOException; + +} |