|
TrueZIP Kernel 7.0-rc1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
E - The type of the created entries.public interface EntryFactory<E extends Entry>
A factory for entries.
| Method Summary | |
|---|---|
E |
newEntry(String name,
Entry.Type type,
Entry template)
Returns a new entry for the given name. |
| Method Detail |
|---|
@NonNull
E newEntry(@NonNull
String name,
@NonNull
Entry.Type type,
@CheckForNull
Entry template)
throws CharConversionException
entry name for their
particular requirements.
If template is not null, then the returned entry shall
inherit as much properties from this template as possible - with the
exception of its name and type.
Furthermore, if name and type are equal to the name and
type of this template, then the returned entry shall be a clone of the
template which shares no mutable objects with the template.
name - an entry name.type - an entry type.template - if not null, then the new entry shall inherit
as much properties from this entry as possible - with the
exception of its name and type.
CharConversionException - if name contains characters
which are invalid.
|
TrueZIP Kernel 7.0-rc1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||