com.android.repository.impl.meta
Class Archive.ArchiveFile

java.lang.Object
  extended by com.android.repository.impl.meta.Archive.ArchiveFile
Direct Known Subclasses:
Archive.CompleteType, Archive.PatchType
Enclosing class:
Archive

public abstract static class Archive.ArchiveFile
extends java.lang.Object

General parent for the actual files referenced in an archive.


Constructor Summary
Archive.ArchiveFile()
           
 
Method Summary
abstract  java.lang.String getChecksum()
          Gets the checksum for the zip.
abstract  long getSize()
          Gets the size of the zip.
abstract  java.lang.String getUrl()
          Gets the URL to download from.
 void setChecksum(java.lang.String checksum)
          Sets the checksum for this zip.
 void setSize(long size)
          Sets the size of the zip;
 void setUrl(java.lang.String url)
          Sets the URL to download from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Archive.ArchiveFile

public Archive.ArchiveFile()
Method Detail

getChecksum

@NonNull
public abstract java.lang.String getChecksum()
Gets the checksum for the zip.


setChecksum

public void setChecksum(@NonNull
                        java.lang.String checksum)
Sets the checksum for this zip.


getUrl

@NonNull
public abstract java.lang.String getUrl()
Gets the URL to download from.


setUrl

public void setUrl(@NonNull
                   java.lang.String url)
Sets the URL to download from.


getSize

public abstract long getSize()
Gets the size of the zip.


setSize

public void setSize(long size)
Sets the size of the zip;