Package org.applecommander.source
Class DataBufferSource
java.lang.Object
org.applecommander.source.DataBufferSource
- All Implemented Interfaces:
CapabilityProvider
,HintProvider
,Source
,Container
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.applecommander.source.Source
Source.Factory
-
Method Summary
Modifier and TypeMethodDescriptionboolean
can
(Capability capability) void
static DataBufferSource.Builder
static DataBufferSource.Builder
static DataBufferSource.Builder
create
(DataBuffer dataBuffer, String name) <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
-
Method Details
-
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
-
can
- Specified by:
can
in interfaceCapabilityProvider
-
is
- Specified by:
is
in interfaceHintProvider
-
get
-
create
-
create
-
create
-