-
- All Implemented Interfaces:
-
org.readium.r2.shared.JSONable
public final class ArchiveProperties implements JSONable
Holds information about how the resource is stored in the archive.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classArchiveProperties.Companion
-
Field Summary
Fields Modifier and Type Field Description private final LongentryLengthprivate final BooleanisEntryCompressed
-
Constructor Summary
Constructors Constructor Description ArchiveProperties(Long entryLength, Boolean isEntryCompressed)
-
Method Summary
Modifier and Type Method Description final LonggetEntryLength()final BooleangetIsEntryCompressed()JSONObjecttoJSON()Serializes the object to its JSON representation. -
-
Method Detail
-
getEntryLength
final Long getEntryLength()
-
getIsEntryCompressed
final Boolean getIsEntryCompressed()
-
toJSON
JSONObject toJSON()
Serializes the object to its JSON representation.
-
-
-
-