netx.jnlp.services
Class XFileContents
java.lang.Object
netx.jnlp.services.XFileContents
- javax.jnlp.FileContents
(package private) class XFileContents
extends java.lang.Object
implements javax.jnlp.FileContents
File contents.
XFileContents(File file) - Create a file contents implementation for the file.
|
XFileContents
protected XFileContents(File file)
Create a file contents implementation for the file.
canRead
public boolean canRead()
throws IOException
canWrite
public boolean canWrite()
throws IOException
getInputStream
public InputStream getInputStream()
throws IOException
getLength
public long getLength()
throws IOException
getMaxLength
public long getMaxLength()
throws IOException
getName
public String getName()
throws IOException
getOutputStream
public OutputStream getOutputStream(boolean overwrite)
throws IOException
getRandomAccessFile
public javax.jnlp.JNLPRandomAccessFile getRandomAccessFile(String mode)
throws IOException
setMaxLength
public long setMaxLength(long maxlength)
throws IOException