apollo.dev
Class DevFileContents
java.lang.Object
|
+--apollo.dev.DevFileContents
- All Implemented Interfaces:
- FileContents
- public class DevFileContents
- extends java.lang.Object
- implements FileContents
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DevFileContents
public DevFileContents(java.io.File wrappedFile)
setMaxLength
public long setMaxLength(long maxLength)
throws java.io.IOException
- Specified by:
setMaxLength in interface FileContents
java.io.IOException
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