public class BinaryNode extends Node
childs, file, globalContext, isPageFile| Constructor and Description |
|---|
BinaryNode(SiteGenerator globalContext,
File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
generateOrUpdateDiskFile(ContextProperties context)
Update the the information asociated to this node.
|
String |
getFileName() |
long |
getLastModified()
The last time of the file disk information need to generate pages has been modified.
|
String |
getRelativePath()
IF the file is ..
|
protected String |
getStringToParse()
Use this method to get the string to parse of this node.
|
protected String |
updateContent()
This updates the node content, the string that represents this node
and its childs.
|
addChild, clearChildList, createChildList, getChildList, getChildListSize, getContent, getContext, getLastUpdated, getRelativePath, isPage, toStringpublic BinaryNode(SiteGenerator globalContext, File file) throws FileNotFoundException
FileNotFoundExceptionpublic long getLastModified()
NodegetLastModified in class Nodepublic String getFileName()
getFileName in class Nodepublic String getRelativePath() throws FileNotFoundException
getRelativePath in class NodeFileNotFoundExceptionpublic void generateOrUpdateDiskFile(ContextProperties context) throws IOException
NodegenerateOrUpdateDiskFile in class NodeFileNotFoundExceptionIOExceptionprotected String updateContent() throws FileNotFoundException
NodeupdateContent in class NodeFileNotFoundExceptionprotected String getStringToParse()
getStringToParse in class Nodelist - Copyright © 2014 ginere solutions. All Rights Reserved.