|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.neuzd.Regnus.Regnus
public class Regnus
A class that provides methods to parse a Regnus Script File.
Regnus is Copyright 2010-2011 Ryan J. Bury. All rights reserved.
Constructor Summary | |
---|---|
Regnus()
Creates a Regnus class. |
Method Summary | |
---|---|
boolean |
checkIfScriptIsValid(java.lang.String RSFFile)
Checks if the file at the given path is a valid Regnus Script File. |
java.lang.String |
getRegnusSpec()
Generates a String containing the Regnus spec version. |
java.lang.String |
getScriptDetails(java.lang.String RSFFile)
Generates a String with various details about the Regnus Script File like: filename, title, content of the blurb, number of entries and number of labels. |
java.lang.String |
getScriptTitle()
Generates a String containing the current script title. |
java.lang.String[] |
listLabels(java.lang.String RSFFile)
Creates a String array where each member represents a label. |
java.lang.String |
RegnusGenerate(java.lang.String RSFFile,
java.lang.String TargetLabel)
Generates the text by evaluating a label in a Regnus Script File. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Regnus()
Method Detail |
---|
public boolean checkIfScriptIsValid(java.lang.String RSFFile) throws java.lang.Exception
RSFFile
- the absolute path of the file to be checked
java.lang.Exception
public java.lang.String getRegnusSpec()
public java.lang.String getScriptDetails(java.lang.String RSFFile) throws java.lang.Exception
RSFFile
- the absolute path of a Regnus Script File
java.lang.Exception
public java.lang.String getScriptTitle()
public java.lang.String[] listLabels(java.lang.String RSFFile) throws java.lang.Exception
RSFFile
- the absolute path of the Regnus Script File
java.lang.Exception
public java.lang.String RegnusGenerate(java.lang.String RSFFile, java.lang.String TargetLabel) throws java.lang.Exception
RSFFile
- the absolute path of the Regnus Script File to be parsedTargetLabel
- the label to be evaluated
java.lang.Exception
listLabels(String RSFFile)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |