source: trunk/icedtea-web/netx/javax/jnlp/FileContents.java

Last change on this file was 348, checked in by dmik, 13 years ago

vendor: Add icedtea-web v1.1.2 to current.

File size: 708 bytes
Line 
1package javax.jnlp;
2
3public interface FileContents {
4
5 public java.lang.String getName() throws java.io.IOException;
6
7 public java.io.InputStream getInputStream() throws java.io.IOException;
8
9 public java.io.OutputStream getOutputStream(boolean overwrite) throws java.io.IOException;
10
11 public long getLength() throws java.io.IOException;
12
13 public boolean canRead() throws java.io.IOException;
14
15 public boolean canWrite() throws java.io.IOException;
16
17 public JNLPRandomAccessFile getRandomAccessFile(java.lang.String mode) throws java.io.IOException;
18
19 public long getMaxLength() throws java.io.IOException;
20
21 public long setMaxLength(long maxlength) throws java.io.IOException;
22
23}
Note: See TracBrowser for help on using the repository browser.