Class FileEntrySource
java.lang.Object
com.webcodepro.applecommander.storage.FileEntrySource
- All Implemented Interfaces:
CapabilityProvider
,HintProvider
,Source
,Container
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
can
(Capability capability) void
<T> Optional
<T> getName()
int
getSize()
boolean
boolean
readBytes
(int offset, int length) void
writeBytes
(int offset, DataBuffer data) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.applecommander.hint.HintProvider
isAny
Methods inherited from interface org.applecommander.source.Source
extensionLike, isApproxEQ, isApproxLE
-
Constructor Details
-
FileEntrySource
-
-
Method Details
-
can
- Specified by:
can
in interfaceCapabilityProvider
-
get
-
is
- Specified by:
is
in interfaceHintProvider
-
getSize
public int getSize() -
getName
-
readAllBytes
- Specified by:
readAllBytes
in interfaceSource
-
readBytes
-
writeBytes
- Specified by:
writeBytes
in interfaceSource
-
hasChanged
public boolean hasChanged()- Specified by:
hasChanged
in interfaceSource
-
clearChanges
public void clearChanges()- Specified by:
clearChanges
in interfaceSource
-
information
- Specified by:
information
in interfaceSource
-