|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.basic.TemplateFile
+----------+ 1 file 1 TemplateManager | filename +------------------------ TemplateFile +----------+ manager templates +----------+ 1 1 TemplateFile | name +----------------------- TemplateCodeBlock +----------+ template codeBlocks
Constructor Summary | |
TemplateFile(java.lang.String filename)
Constructor for class TemplateFile |
Method Summary | |
boolean |
addToCodeBlocks(TemplateCodeBlock obj)
Access method for an one to n association. |
java.util.Iterator |
entriesOfCodeBlocks()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
getFilename()
Get the filename attribute of the TemplateFile object |
TemplateCodeBlock |
getFromCodeBlocks(java.lang.String key)
Get the fromCodeBlocks attribute of the TemplateFile object |
TemplateManager |
getManager()
Get the manager attribute of the TemplateFile object |
long |
getModifiedTag()
Get the modifiedTag attribute of the TemplateFile object |
boolean |
hasInCodeBlocks(TemplateCodeBlock obj)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasKeyInCodeBlocks(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
isModified()
Get the modified attribute of the TemplateFile object |
java.util.Iterator |
iteratorOfCodeBlocks()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
keysOfCodeBlocks()
No comment provided by developer, please add a comment to improve documentation. |
protected java.io.BufferedReader |
openUsingClassLoader()
No comment provided by developer, please add a comment to improve documentation. |
protected void |
parse()
Parse should only be called by the TemplateManager (once, or after alteration of the file) |
protected void |
processLine(java.lang.String line,
java.io.BufferedReader in)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromCodeBlocks()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromCodeBlocks(TemplateCodeBlock obj)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeKeyFromCodeBlocks(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation. |
protected java.lang.String |
retrieveCodeBlockName(java.lang.String line)
No comment provided by developer, please add a comment to improve documentation. |
void |
setFilename(java.lang.String filename)
Sets the filename attribute of the TemplateFile object |
boolean |
setManager(TemplateManager obj)
Sets the manager attribute of the TemplateFile object |
void |
setModifiedTag(long tag)
Sets the modifiedTag attribute of the TemplateFile object |
int |
sizeOfCodeBlocks()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
toString()
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TemplateFile(java.lang.String filename)
filename
- No description providedMethod Detail |
public void setFilename(java.lang.String filename)
filename
- The new filename valuepublic java.lang.String getFilename()
public void setModifiedTag(long tag)
tag
- The new modifiedTag valuepublic long getModifiedTag()
public boolean setManager(TemplateManager obj)
obj
- The new manager value
public TemplateManager getManager()
public boolean hasInCodeBlocks(TemplateCodeBlock obj)
obj
- No description provided
public boolean hasKeyInCodeBlocks(java.lang.String key)
key
- No description provided
public java.util.Iterator iteratorOfCodeBlocks()
public java.util.Iterator keysOfCodeBlocks()
public java.util.Iterator entriesOfCodeBlocks()
public int sizeOfCodeBlocks()
public TemplateCodeBlock getFromCodeBlocks(java.lang.String key)
key
- No description provided
public boolean addToCodeBlocks(TemplateCodeBlock obj)
obj
- The object added.
public boolean removeFromCodeBlocks(TemplateCodeBlock obj)
obj
- No description provided
public boolean removeKeyFromCodeBlocks(java.lang.String key)
key
- No description provided
public void removeAllFromCodeBlocks()
public boolean isModified()
protected java.io.BufferedReader openUsingClassLoader() throws java.io.IOException
java.io.IOException
- Exception description not providedprotected void parse()
protected void processLine(java.lang.String line, java.io.BufferedReader in)
line
- No description providedin
- No description providedprotected java.lang.String retrieveCodeBlockName(java.lang.String line)
line
- No description provided
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |