Package org.applecommander.image
Class UniversalDiskImage
java.lang.Object
org.applecommander.image.UniversalDiskImage
- All Implemented Interfaces:
CapabilityProvider
,HintProvider
,Source
,Container
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
can
(Capability capability) void
<T> Optional
<T> getInfo()
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
-
Field Details
-
MAGIC
public static final int MAGIC- See Also:
-
HEADER_SIZE
public static final int HEADER_SIZE- See Also:
-
HEADER_SIZE_ALT
public static final int HEADER_SIZE_ALT- See Also:
-
-
Constructor Details
-
UniversalDiskImage
-
-
Method Details
-
getInfo
-
can
- Specified by:
can
in interfaceCapabilityProvider
-
getSize
public int getSize() -
getName
-
get
-
is
- Specified by:
is
in interfaceHintProvider
-
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
-