apollo.jnlp
Class JnlpFileContents

java.lang.Object
  |
  +--apollo.jnlp.JnlpFileContents
All Implemented Interfaces:
FileContents

public class JnlpFileContents
extends java.lang.Object
implements FileContents


Constructor Summary
JnlpFileContents(javax.jnlp.FileContents delegate)
           
 
Method Summary
 boolean canRead()
           
 boolean canWrite()
           
 javax.jnlp.FileContents getDelegate()
           
 java.io.InputStream getInputStream()
           
 long getLength()
           
 long getMaxLength()
           
 java.lang.String getName()
           
 java.io.OutputStream getOutputStream(boolean overwrite)
           
 long setMaxLength(long maxLength)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JnlpFileContents

public JnlpFileContents(javax.jnlp.FileContents delegate)
Method Detail

setMaxLength

public long setMaxLength(long maxLength)
                  throws java.io.IOException
Specified by:
setMaxLength in interface FileContents
java.io.IOException

getDelegate

public javax.jnlp.FileContents getDelegate()

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface FileContents
java.io.IOException

getLength

public long getLength()
               throws java.io.IOException
Specified by:
getLength in interface FileContents
java.io.IOException

getMaxLength

public long getMaxLength()
                  throws java.io.IOException
Specified by:
getMaxLength in interface FileContents
java.io.IOException

getName

public java.lang.String getName()
                         throws java.io.IOException
Specified by:
getName in interface FileContents
java.io.IOException

getOutputStream

public java.io.OutputStream getOutputStream(boolean overwrite)
                                     throws java.io.IOException
Specified by:
getOutputStream in interface FileContents
java.io.IOException

canRead

public boolean canRead()
                throws java.io.IOException
Specified by:
canRead in interface FileContents
java.io.IOException

canWrite

public boolean canWrite()
                 throws java.io.IOException
Specified by:
canWrite in interface FileContents
java.io.IOException


Copyright © 2001, 2002, 2003 Gerald Bauer. All Rights Reserved. Hosted by SourceForge Logo