|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.smartcrawler.persistence.FileSystemPersister
public class FileSystemPersister
Constructor Summary | |
---|---|
FileSystemPersister(Link link,
SiteConfiguration conf)
Creates a new instance of FileSystemPersister |
Method Summary | |
---|---|
protected java.lang.String |
contTypeToFileExt(java.lang.String ctype)
|
protected java.io.File |
linkToFilePath(Link link,
java.io.File rootDir,
java.lang.String cType)
|
void |
persist(Content content)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSystemPersister(Link link, SiteConfiguration conf)
Method Detail |
---|
public void persist(Content content)
persist
in interface Persister
content
- protected java.io.File linkToFilePath(Link link, java.io.File rootDir, java.lang.String cType)
link
- rootDir
- cType
-
protected java.lang.String contTypeToFileExt(java.lang.String ctype)
ctype
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |