static TarArchiveEntry defaultDirEntryWithName ( final String dirName ) { TarArchiveEntry entry = new TarArchiveEntry ( dirName , true ) ; entry . setUserId ( ROOT_UID ) ; entry . setUserName ( ROOT_NAME ) ; entry . setGroupId ( ROOT_UID ) ; entry . setGroupName ( ROOT_NAME ) ; entry . setMode ( TarArchiveEntry . DEFAULT_DIR_MODE ) ; return entry ; }
Creates a tar directory entry with defaults parameters .