Package 

Class ArchiveProperties

  • 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.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Long getEntryLength()
      final Boolean isEntryCompressed()
      JSONObject toJSON() Serializes the object to its JSON representation.
      • Methods inherited from class android.os.Parcelable

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArchiveProperties

        ArchiveProperties(Long entryLength, Boolean isEntryCompressed)
        Parameters:
        entryLength - The length of the entry stored in the archive.
        isEntryCompressed - Indicates whether the entry was compressed before being stored in the archive.