Class UniversalDiskImage
java.lang.Object
org.applecommander.image.UniversalDiskImage
- All Implemented Interfaces:
CapabilityProvider, HintProvider, Source, Container
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancan(Capability capability) void<T> Optional<T> getInfo()getName()intgetSize()booleanbooleanreadBytes(int offset, int length) voidwriteBytes(int offset, DataBuffer data) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HintProvider
isAnyMethods inherited from interface Source
extensionLike, isApproxBetween, isApproxEQ
-
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:
canin interfaceCapabilityProvider
-
getSize
-
getName
-
get
-
is
- Specified by:
isin interfaceHintProvider
-
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
-