public abstract class SourcesProcessor
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
SourcesProcessor(org.apache.maven.plugin.logging.Log logger,
java.lang.String srcDir,
java.lang.String targetDir,
java.lang.String suffix)
Constructs a sources process withe the specified logger, sources
directory path, target directory path and target suffix.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.plugin.logging.Log |
getLogger() |
java.io.File |
getSrcDir() |
java.lang.String |
getSuffix() |
java.io.File |
getTargetDir() |
protected abstract void |
minimize()
Minimizes source file.
|
void |
run() |
public SourcesProcessor(org.apache.maven.plugin.logging.Log logger,
java.lang.String srcDir,
java.lang.String targetDir,
java.lang.String suffix)
Creates a directory if the target directory specified by the given target directory path is inexistent.
logger - the specified loggersrcDir - the specified sources directory pathtargetDir - the specified target directory pathsuffix - the specified target suffixpublic void run()
run in interface java.lang.Runnablepublic org.apache.maven.plugin.logging.Log getLogger()
public java.io.File getSrcDir()
public java.lang.String getSuffix()
public java.io.File getTargetDir()
protected abstract void minimize()
Copyright © 2011-2018 B3log. All Rights Reserved.