apollo
Interface FileContents

All Known Implementing Classes:
DevFileContents, JnlpFileContents

public interface FileContents


Method Summary
 boolean canRead()
           
 boolean canWrite()
           
 java.io.InputStream getInputStream()
           
 long getLength()
           
 long getMaxLength()
           
 java.lang.String getName()
           
 java.io.OutputStream getOutputStream(boolean overwrite)
           
 long setMaxLength(long maxlength)
           
 

Method Detail

getName

public java.lang.String getName()
                         throws java.io.IOException
java.io.IOException

canRead

public boolean canRead()
                throws java.io.IOException
java.io.IOException

canWrite

public boolean canWrite()
                 throws java.io.IOException
java.io.IOException

getLength

public long getLength()
               throws java.io.IOException
java.io.IOException

getMaxLength

public long getMaxLength()
                  throws java.io.IOException
java.io.IOException

setMaxLength

public long setMaxLength(long maxlength)
                  throws java.io.IOException
java.io.IOException

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
java.io.IOException

getOutputStream

public java.io.OutputStream getOutputStream(boolean overwrite)
                                     throws java.io.IOException
java.io.IOException


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