Package zombie.fileSystem
Class DiskFileDevice
java.lang.Object
zombie.fileSystem.DiskFileDevice
- All Implemented Interfaces:
IFileDevice
public final class DiskFileDevice extends java.lang.Object implements IFileDevice
-
Constructor Summary
Constructors Constructor Description DiskFileDevice(java.lang.String string)
-
Method Summary
Modifier and Type Method Description IFile
createFile(IFile iFile)
java.io.InputStream
createStream(java.lang.String string, java.io.InputStream inputStream)
void
destroyFile(IFile iFile)
void
destroyStream(java.io.InputStream inputStream)
java.lang.String
name()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DiskFileDevice
public DiskFileDevice(java.lang.String string)
-
-
Method Details
-
createFile
- Specified by:
createFile
in interfaceIFileDevice
-
destroyFile
- Specified by:
destroyFile
in interfaceIFileDevice
-
createStream
public java.io.InputStream createStream(java.lang.String string, java.io.InputStream inputStream) throws java.io.IOException- Specified by:
createStream
in interfaceIFileDevice
- Throws:
java.io.IOException
-
destroyStream
public void destroyStream(java.io.InputStream inputStream)- Specified by:
destroyStream
in interfaceIFileDevice
-
name
public java.lang.String name()- Specified by:
name
in interfaceIFileDevice
-