aboutsummaryrefslogtreecommitdiffstats
path: root/netx/javax/jnlp/FileContents.java
blob: a6122025b764f8a4561192a263f7569f38b20326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;

}