net.metanotion.io.gui
Class FSFileContents
java.lang.Object
net.metanotion.io.gui.FSFileContents
public final class FSFileContents
- extends Object
Implementation of the JNLP FileContents interface to support using a
FileSystem in a JNLP context.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSFileContents
public FSFileContents(File f)
FSFileContents
public FSFileContents(File f,
long maxLen,
boolean changeable)
canRead
public boolean canRead()
canWrite
public boolean canWrite()
getInputStream
public InputStream getInputStream()
getOutputStream
public OutputStream getOutputStream(boolean overwrite)
getLength
public long getLength()
getMaxLength
public long getMaxLength()
getName
public String getName()
getRandomAccessFile
public JNLPRandomAccessFile getRandomAccessFile(String mode)
setMaxLength
public long setMaxLength(long maxlength)