aboutsummaryrefslogtreecommitdiffstats
path: root/netx/javax/jnlp/FileContents.java
blob: 4658dff758463070a1e3efff7d74c68da61b5605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;

}