| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv String | |
| pack-priv OutputStreamWriter |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | PIFGenerator(int
Index starts at 1 in each Tar file sequenceNum)Construct a PIFGenerator object for a 'g' record. |
| public | PIFGenerator(File
Target file of the x record. file)Construct a PIFGenerator object for a 'x' record. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| fakePid | back to summary |
|---|---|
| pack-priv int fakePid | |
| name | back to summary |
|---|---|
| pack-priv String name | |
| writer | back to summary |
|---|---|
| pack-priv OutputStreamWriter writer | |
| PIFGenerator | back to summary |
|---|---|
| protected PIFGenerator() | |
| PIFGenerator | back to summary |
|---|---|
| public PIFGenerator(int sequenceNum) Construct a PIFGenerator object for a 'g' record.
| |
| PIFGenerator | back to summary |
|---|---|
| public PIFGenerator(File file) Construct a PIFGenerator object for a 'x' record.
| |
| addRecord | back to summary |
|---|---|
| public void addRecord(String key, boolean b) throws TarMalformatException, IOException Convenience wrapper for addRecord(String, String). N.b. this writes values exactly as either "true" or "false".
| |
| addRecord | back to summary |
|---|---|
| public void addRecord(String key, int i) throws TarMalformatException, IOException Convenience wrapper for addRecord(String, String).
| |
| addRecord | back to summary |
|---|---|
| public void addRecord(String key, long l) throws TarMalformatException, IOException Convenience wrapper for addRecord(String, String).
| |
| addRecord | back to summary |
|---|---|
| public void addRecord(String key, String value) throws TarMalformatException, IOException I guess the "initial length" field is supposed to be in units of characters, not bytes?
| |
| getName | back to summary |
|---|---|
| public String getName() | |