|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jpkgmk.AbstractFileCreatorAdapter
public abstract class AbstractFileCreatorAdapter
Abstract implementation of the FileHandler.ContentWriter
interface to create a file
Constructor Summary | |
---|---|
AbstractFileCreatorAdapter()
|
Method Summary | |
---|---|
void |
clean(java.io.File targetDir)
|
void |
create(java.io.File targetDir)
Creates the one file represented by this file creator in the given target directory. |
abstract FileHandler |
getFileHandler(java.io.File targetDir)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jpkgmk.FileHandler.ContentWriter |
---|
writeContent |
Constructor Detail |
---|
public AbstractFileCreatorAdapter()
Method Detail |
---|
public abstract FileHandler getFileHandler(java.io.File targetDir)
public void create(java.io.File targetDir) throws java.io.IOException
targetDir
- The directory into which the file will be written
java.io.IOException
public void clean(java.io.File targetDir)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |