net.sf.jpkgmk.prototype
Class PrototypeEntryInfo

java.lang.Object
  extended by net.sf.jpkgmk.AbstractLineProvider
      extended by net.sf.jpkgmk.prototype.AbstractPrototypeEntry
          extended by net.sf.jpkgmk.prototype.PrototypeEntryFile
              extended by net.sf.jpkgmk.prototype.PrototypeEntryInfo
All Implemented Interfaces:
LineProvider, PrototypeEntry

public class PrototypeEntryInfo
extends PrototypeEntryFile

Since:
1.0
Version:
$Revision: 2 $ $Date: 2008-08-20 21:14:19 +0200 (Mi, 20 Aug 2008) $
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $

Nested Class Summary
static class PrototypeEntryInfo.PrototypeEntryInfoParser
           
 
Nested classes/interfaces inherited from class net.sf.jpkgmk.prototype.PrototypeEntryFile
PrototypeEntryFile.PrototypeEntryFileParser
 
Field Summary
 
Fields inherited from class net.sf.jpkgmk.prototype.AbstractPrototypeEntry
DEFAULT_FILE_CLASS
 
Constructor Summary
PrototypeEntryInfo(java.lang.Integer part, java.lang.String entryPath, java.lang.String entryPathSource)
          Full constructor taking all arguments supported for this entry type
PrototypeEntryInfo(java.lang.String entryPath)
          Constructor taking the mandatory arguments to create a prototype file entry
 
Method Summary
protected  PkgMapEntry createPkgMapEntry(java.lang.Integer part, PkgMapEntryType resultType, java.lang.String entryClass, java.lang.String entryPath, java.lang.String entryPathSource, java.lang.Integer major, java.lang.Integer minor, java.lang.String mode, java.lang.String owner, java.lang.String group, java.io.File basedir)
           
 
Methods inherited from class net.sf.jpkgmk.prototype.PrototypeEntryFile
create, getChecksum, getFileSize, getLastModifiedTime
 
Methods inherited from class net.sf.jpkgmk.prototype.AbstractPrototypeEntry
buildAbsolutePath, create, createPkgMapEntry, equals, getEntryPath, getEntryPathSource, getFileClass, getGroup, getLine, getMajor, getMinor, getMode, getOwner, getType, hashCode, resolveGroup, resolveMode, resolveOwner, toString
 
Methods inherited from class net.sf.jpkgmk.AbstractLineProvider
write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.jpkgmk.LineProvider
write
 

Constructor Detail

PrototypeEntryInfo

public PrototypeEntryInfo(java.lang.String entryPath)
Constructor taking the mandatory arguments to create a prototype file entry

Parameters:
entryPath -

PrototypeEntryInfo

public PrototypeEntryInfo(java.lang.Integer part,
                          java.lang.String entryPath,
                          java.lang.String entryPathSource)
Full constructor taking all arguments supported for this entry type

Parameters:
part - The part number of this entry
entryPath - the target path that this file/directory should have in the created package
entryPathSource - path to the local source file
Method Detail

createPkgMapEntry

protected PkgMapEntry createPkgMapEntry(java.lang.Integer part,
                                        PkgMapEntryType resultType,
                                        java.lang.String entryClass,
                                        java.lang.String entryPath,
                                        java.lang.String entryPathSource,
                                        java.lang.Integer major,
                                        java.lang.Integer minor,
                                        java.lang.String mode,
                                        java.lang.String owner,
                                        java.lang.String group,
                                        java.io.File basedir)
Overrides:
createPkgMapEntry in class PrototypeEntryFile


Copyright © 2007-2008. All Rights Reserved.