java.lang.Object
java.lang.Thread
org.enhydra.kelp.common.KelpTool
org.enhydra.kelp.common.importer.ImportTool
- All Implemented Interfaces:
- org.enhydra.tool.common.event.CancelListener, java.util.EventListener, java.lang.Runnable
- public class ImportTool
- extends org.enhydra.kelp.common.KelpTool
Class declaration
| Fields inherited from class org.enhydra.kelp.common.KelpTool |
|
|
Constructor Summary |
ImportTool()
Constructor declaration |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
res
static java.util.ResourceBundle res
KELP_PROPERTIES
private static final java.lang.String KELP_PROPERTIES
- See Also:
- Constant Field Values
PACKAGE_KEY
private static final java.lang.String PACKAGE_KEY
- See Also:
- Constant Field Values
IMAGE_TYPES
private final java.lang.String[] IMAGE_TYPES
optionFilter
private org.enhydra.tool.common.ExtensionFilter optionFilter
paths
private ImportPaths paths
inFiles
private java.io.File[] inFiles
ImportTool
public ImportTool()
- Constructor declaration
readPackage
protected static java.lang.String readPackage(java.io.File javaSource)
- Method declaration
getPaths
public ImportPaths getPaths()
setPaths
public void setPaths(ImportPaths p)
addFiles
public void addFiles(java.io.File[] files)
importFilesFromRoot
public void importFilesFromRoot()
- Method declaration
importFiles
public void importFiles(java.io.File[] files)
- Method declaration
privateImport
private void privateImport()
processConfInSource
private java.io.File[] processConfInSource(java.io.File[] files)
preAdd
private void preAdd()
postAdd
private void postAdd()
isIgnored
private boolean isIgnored(java.lang.String in)
addKelpProperties
private void addKelpProperties()
lookupSymbolicName
private java.lang.String lookupSymbolicName(java.io.File sourceFile)
getFolder
private org.enhydra.kelp.common.node.OtterNode getFolder(org.enhydra.kelp.common.node.OtterNodeFactory nodeFactory,
org.enhydra.tool.common.PathHandle inputPath,
java.io.File sourceFile)
setupDocumentNode
private void setupDocumentNode(org.enhydra.kelp.common.map.Mapper mapper,
org.enhydra.kelp.common.node.OtterDocumentNode node)
setupProjectSourcePath
private void setupProjectSourcePath()
readFilesFromRoot
private java.io.File[] readFilesFromRoot()
readFiles
private java.io.File[] readFiles(java.io.File dir)
run
public void run()
- Description copied from class:
java.lang.Thread
- The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.