gov.loc.repository.bagit
Interface BagInfoTxt

All Superinterfaces:
BagFile, java.util.Map<java.lang.String,java.lang.String>

public interface BagInfoTxt
extends BagFile, java.util.Map<java.lang.String,java.lang.String>


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
static java.lang.String TYPE
           
static int UNKNOWN_TOTAL_BAGS_IN_GROUP
           
static java.lang.String UNKNOWN_TOTAL_BAGS_IN_GROUP_MARKER
           
 
Method Summary
 void generateBagSize(Bag bag)
           
 void generatePayloadOxum(Bag bag)
           
 java.lang.String getBagCount()
           
 java.lang.String getBaggingDate()
           
 java.util.Date getBaggingDateObj()
           
 java.lang.String getBagGroupIdentifier()
           
 java.lang.Integer getBagInGroup()
           
 java.lang.String getBagSize()
           
 java.lang.String getContactEmail()
           
 java.lang.String getContactName()
           
 java.lang.String getContactPhone()
           
 java.lang.String getExternalDescription()
           
 java.lang.String getExternalIdentifier()
           
 java.lang.String getInternalSenderDescription()
           
 java.lang.String getInternalSenderIdentifier()
           
 java.util.List<java.lang.String> getNonstandardFields()
           
 java.lang.Long getOctetCount()
           
 java.lang.String getOrganizationAddress()
           
 java.lang.String getPayloadOxum()
           
 java.lang.String getSourceOrganization()
           
 java.util.List<java.lang.String> getStandardFields()
           
 java.lang.Long getStreamCount()
           
 java.lang.Integer getTotalBagsInGroup()
           
 void setBagCount(int bagInGroup, int totalBagsInGroup)
           
 void setBagCount(java.lang.String bagCount)
           
 void setBaggingDate(java.util.Date date)
           
 void setBaggingDate(int year, int month, int day)
           
 void setBaggingDate(java.lang.String baggingDate)
           
 void setBagGroupIdentifier(java.lang.String bagGroupIdentifier)
           
 void setBagSize(java.lang.String bagSize)
           
 void setContactEmail(java.lang.String contactEmail)
           
 void setContactName(java.lang.String contactName)
           
 void setContactPhone(java.lang.String contactPhone)
           
 void setExternalDescription(java.lang.String externalDescription)
           
 void setExternalIdentifier(java.lang.String externalIdentifier)
           
 void setInternalSenderDescription(java.lang.String internalSenderDescription)
           
 void setInternalSenderIdentifier(java.lang.String internalSenderIdentifier)
           
 void setOrganizationAddress(java.lang.String organizationAddress)
           
 void setPayloadOxum(long octetCount, long streamCount)
           
 void setPayloadOxum(java.lang.String payloadOxum)
           
 void setSourceOrganization(java.lang.String sourceOrganization)
           
 
Methods inherited from interface gov.loc.repository.bagit.BagFile
exists, getFilepath, getSize, newInputStream
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Field Detail

UNKNOWN_TOTAL_BAGS_IN_GROUP

static final int UNKNOWN_TOTAL_BAGS_IN_GROUP
See Also:
Constant Field Values

UNKNOWN_TOTAL_BAGS_IN_GROUP_MARKER

static final java.lang.String UNKNOWN_TOTAL_BAGS_IN_GROUP_MARKER
See Also:
Constant Field Values

TYPE

static final java.lang.String TYPE
See Also:
Constant Field Values
Method Detail

setSourceOrganization

void setSourceOrganization(java.lang.String sourceOrganization)

setOrganizationAddress

void setOrganizationAddress(java.lang.String organizationAddress)

setContactName

void setContactName(java.lang.String contactName)

setContactPhone

void setContactPhone(java.lang.String contactPhone)

setContactEmail

void setContactEmail(java.lang.String contactEmail)

setExternalDescription

void setExternalDescription(java.lang.String externalDescription)

setBaggingDate

void setBaggingDate(java.lang.String baggingDate)

setBaggingDate

void setBaggingDate(int year,
                    int month,
                    int day)

setBaggingDate

void setBaggingDate(java.util.Date date)

setExternalIdentifier

void setExternalIdentifier(java.lang.String externalIdentifier)

setBagSize

void setBagSize(java.lang.String bagSize)

generateBagSize

void generateBagSize(Bag bag)

setPayloadOxum

void setPayloadOxum(java.lang.String payloadOxum)

setPayloadOxum

void setPayloadOxum(long octetCount,
                    long streamCount)

generatePayloadOxum

void generatePayloadOxum(Bag bag)

setBagGroupIdentifier

void setBagGroupIdentifier(java.lang.String bagGroupIdentifier)

setBagCount

void setBagCount(java.lang.String bagCount)

setBagCount

void setBagCount(int bagInGroup,
                 int totalBagsInGroup)

setInternalSenderIdentifier

void setInternalSenderIdentifier(java.lang.String internalSenderIdentifier)

setInternalSenderDescription

void setInternalSenderDescription(java.lang.String internalSenderDescription)

getSourceOrganization

java.lang.String getSourceOrganization()

getOrganizationAddress

java.lang.String getOrganizationAddress()

getContactName

java.lang.String getContactName()

getContactPhone

java.lang.String getContactPhone()

getContactEmail

java.lang.String getContactEmail()

getExternalDescription

java.lang.String getExternalDescription()

getBaggingDate

java.lang.String getBaggingDate()

getBaggingDateObj

java.util.Date getBaggingDateObj()
                                 throws java.text.ParseException
Throws:
java.text.ParseException

getExternalIdentifier

java.lang.String getExternalIdentifier()

getBagSize

java.lang.String getBagSize()

getPayloadOxum

java.lang.String getPayloadOxum()

getOctetCount

java.lang.Long getOctetCount()
                             throws java.text.ParseException
Throws:
java.text.ParseException

getStreamCount

java.lang.Long getStreamCount()
                              throws java.text.ParseException
Throws:
java.text.ParseException

getBagGroupIdentifier

java.lang.String getBagGroupIdentifier()

getBagCount

java.lang.String getBagCount()

getBagInGroup

java.lang.Integer getBagInGroup()
                                throws java.text.ParseException
Throws:
java.text.ParseException

getTotalBagsInGroup

java.lang.Integer getTotalBagsInGroup()
                                      throws java.text.ParseException
Throws:
java.text.ParseException

getInternalSenderIdentifier

java.lang.String getInternalSenderIdentifier()

getInternalSenderDescription

java.lang.String getInternalSenderDescription()

getStandardFields

java.util.List<java.lang.String> getStandardFields()

getNonstandardFields

java.util.List<java.lang.String> getNonstandardFields()