net.sf.jpkgmk.prototype
Class PrototypeEntryCommandSearch
java.lang.Object
net.sf.jpkgmk.AbstractLineProvider
net.sf.jpkgmk.prototype.PrototypeEntryCommand
net.sf.jpkgmk.prototype.PrototypeEntryCommandSearch
- All Implemented Interfaces:
- LineProvider, PrototypeEntry
public class PrototypeEntryCommandSearch
- extends PrototypeEntryCommand
Represents a search command to be used when creating a package from this prototype.
For details refer to
http://docs.sun.com/app/docs/doc/806-7008/6jftmsc21?a=view
in section "Providing a Search Path for the pkgmk Command".
- 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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PrototypeEntryCommandSearch
public PrototypeEntryCommandSearch(java.lang.String[] searchPaths)
getCommandLinePart
protected java.lang.String getCommandLinePart()
- Specified by:
getCommandLinePart
in class PrototypeEntryCommand
- Returns:
- Returns the part of the line that is specific for the implementation of the command. This includes everything
after the '! cmdType' string
createPkgMapEntry
public java.util.List<PkgMapEntry> createPkgMapEntry(java.io.File targetDir,
VariableResolver variableResolver)
- Description copied from interface:
PrototypeEntry
- Creates the
PkgMapEntry
objects for this PrototypeEntry
.
- Parameters:
targetDir
- The directory in which the pkgMap entry is located
- Returns:
- The list of all created
PkgMapEntry
objects created by this prototype entry. Can be empty.
create
public void create(java.io.File targetDir,
VariableResolver variableResolver)
throws java.io.IOException
- Description copied from interface:
PrototypeEntry
- Copies the file of this prototype entry into the target directory
variableResolver
- The variable resolver to be used for expanding variables within the paths of this entry
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class PrototypeEntryCommand
Copyright © 2007-2008. All Rights Reserved.