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 TypeMethodDescriptionbooleancan(Capability capability) voidstatic DataBufferSource.Builderstatic DataBufferSource.Builderstatic DataBufferSource.Buildercreate(DataBuffer dataBuffer, String name) <T> Optional<T> getName()intgetSize()booleanbooleanreadBytes(int offset, int length) voidwriteBytes(int offset, DataBuffer data) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.applecommander.hint.HintProvider
isAnyMethods inherited from interface org.applecommander.source.Source
extensionLike, isApproxBetween, isApproxEQ
-
Method Details
-
getSize
public int getSize() -
getName
-
readAllBytes
- Specified by:
readAllBytesin interfaceSource
-
readBytes
-
writeBytes
- Specified by:
writeBytesin interfaceSource
-
hasChanged
public boolean hasChanged()- Specified by:
hasChangedin interfaceSource
-
clearChanges
public void clearChanges()- Specified by:
clearChangesin interfaceSource
-
information
- Specified by:
informationin interfaceSource
-
can
- Specified by:
canin interfaceCapabilityProvider
-
is
- Specified by:
isin interfaceHintProvider
-
get
-
create
-
create
-
create
-