TrueZIP Driver ZIP 7.1

de.schlichtherle.truezip.zip
Class DefaultZipEntryFactory

java.lang.Object
  extended by de.schlichtherle.truezip.zip.DefaultZipEntryFactory
All Implemented Interfaces:
ZipEntryFactory<ZipEntry>

final class DefaultZipEntryFactory
extends Object
implements ZipEntryFactory<ZipEntry>

The default factory for ZipEntrys.

Author:
Christian Schlichtherle

Field Summary
(package private) static ZipEntryFactory<ZipEntry> SINGLETON
           
 
Constructor Summary
private DefaultZipEntryFactory()
           
 
Method Summary
 ZipEntry newEntry(String name)
          Returns a new ZIP entry with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

static final ZipEntryFactory<ZipEntry> SINGLETON
Constructor Detail

DefaultZipEntryFactory

private DefaultZipEntryFactory()
Method Detail

newEntry

public ZipEntry newEntry(String name)
Description copied from interface: ZipEntryFactory
Returns a new ZIP entry with the given name.

Specified by:
newEntry in interface ZipEntryFactory<ZipEntry>
Parameters:
name - the entry name - null is not permitted.
Returns:
A new ZIP entry with the given name.

TrueZIP Driver ZIP 7.1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.