|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.at4j.tar.builder.TarBuilderSettings
public class TarBuilderSettings
This object contains the settings for a Tar archive builder. When a new instance is created, it is initialized with the default settings.
The default file entry settings are:
Property | Value |
---|---|
Unix entity mode | 0644 |
Owner UID | 0 |
Owner GID | 0 |
Owner user name | The name of the user owning the Java process |
Owner group name | users |
The default directory entry settings are:
Property | Value |
---|---|
Unix entity mode | 0755 |
Owner UID | 0 |
Owner GID | 0 |
Owner user name | The name of the user owning the Java process |
Owner group name | users |
The default entry strategy is the default GnuTarEntryStrategy
, which
means that the Tar builder will create Gnu Tar compatible archives by
default.
The setter methods of this object return the object instance so that setter calls can be chained together.
TarBuilder
,
TarStreamBuilder
Constructor Summary | |
---|---|
TarBuilderSettings()
|
Method Summary | |
---|---|
TarEntrySettings |
getDefaultDirectoryEntrySettings()
Get the default directory entry settings. |
TarEntrySettings |
getDefaultFileEntrySettings()
Get the default file entry settings. |
TarEntryStrategy |
getEntryStrategy()
Get the entry strategy. |
TarBuilderSettings |
setDefaultDirectoryEntrySettings(TarEntrySettings defaultDirectorySettings)
Set new default directory entry settings. |
TarBuilderSettings |
setDefaultFileEntrySettings(TarEntrySettings defaultFileSettings)
Set new default file entry settings. |
TarBuilderSettings |
setEntryStrategy(TarEntryStrategy entryStrategy)
Set a new entry strategy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TarBuilderSettings()
Method Detail |
---|
public TarEntrySettings getDefaultFileEntrySettings()
public TarBuilderSettings setDefaultFileEntrySettings(TarEntrySettings defaultFileSettings)
This will be combined with the default default file entry settings, so it only has to contain the configuration delta compared with the default settings.
defaultFileSettings
- The new default file entry settings.
this
public TarEntrySettings getDefaultDirectoryEntrySettings()
public TarBuilderSettings setDefaultDirectoryEntrySettings(TarEntrySettings defaultDirectorySettings)
This will be combined with the default default directory entry settings, so it only has to contain the configuration delta compared with the default settings.
defaultDirectorySettings
- The new default directory entry settings.
this
public TarEntryStrategy getEntryStrategy()
public TarBuilderSettings setEntryStrategy(TarEntryStrategy entryStrategy)
entryStrategy
- The new entry strategy.
this
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |