-
- All Implemented Interfaces:
-
android.os.Parcelable,org.readium.r2.shared.JSONable
public final class ArchiveProperties implements JSONable, Parcelable
Holds information about how the resource is stored in the publication 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 BooleanisEntryCompressed()JSONObjecttoJSON()Serializes the object to its JSON representation. -
-
Method Detail
-
getEntryLength
final Long getEntryLength()
-
isEntryCompressed
final Boolean isEntryCompressed()
-
toJSON
JSONObject toJSON()
Serializes the object to its JSON representation.
-
-
-
-