|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Settings.add(String, Object)
.
Byte
object.
Short
object.
Integer
object.
Long
object.
Float
object.
Double
object.
Character
object.
Boolean
object.
Engine.addData(String, Object)
.
Settings.addDefault(String, Object)
.
Settings.addDefaults(Map)
, but uses a Properties
object, so the values are strings.
Settings.addDefault(String, Object)
, but uses string value.
Engine.addFooterChooser(int, String, String)
instead.
Engine.addHeaderChooser(int, String, String)
instead.
WritableSequence
.Settings.add(String, Object)
, but uses string value.
Settings.add(Map)
, but uses a Properties
object,
so the values are strings.
ls
.Engine
attribute that must store the Ant task
object.
CachingLocalDataBuilder.build(Engine)
if no cached
result is available.
Map
, and reuses it
CachingLocalDataBuilder.build(Engine, TemplateEnvironment)
is invoked again during the same
processing session.MiscUtil.causeTrace(java.lang.Throwable)
, but it doesn't print the
exception class name if the class is inside an fmpp
package.
StringBuffer
.
Engine.addProgressListener(fmpp.ProgressListener)
.
Engine.clearData()
instead.
WritableSequence
or WritableHash
.copyFile(src, dst, true))
.
WritableHash
.fmpp.models.CsvSequence
object.Engine
level,
using the already initialized Engine
object.
Engine(null)
.
Fragment
as single TDD expression.
eval(text, null, false, fileName)
.
eval(text, null, false, null)
.
evalAsHash(text, null, false, null)
.
evalAsHash(text, null, false, fileName)
.
evalAsList(text, null, false, null)
.
evalAsList(text, null, false, fileName)
.
Engine.process
has started the work.
Engine.process
has finished the work.
Exception
that emulates J2SE 1.4+ cause-chains if it runs on
earlier versions.Settings.execute()
instead.
Reusing the same engine object for multiple
execute(...)
calls is error-prone (because
engine parameters set for earlier setting values may remain in
effect, which is seldom useful, and surprising for most users). Also,
this method is not compatible with new methods as
Settings.addProgressListener(fmpp.ProgressListener)
,
Settings.setEngineAttribute(String, Object)
,
Settings.doProcessing(fmpp.Engine, java.io.File[], java.io.File, java.io.File)
, ...etc.
expandTabs(text, tabWidth, 0)
.
File
that stores the current configuration base directory at
the time it was instantiated.File
that stores the original setting value (string) it was
constructed from.fmpp.DataLoader
implementations.fmpp.LocalDataBuilder
implementations.freemarker.template.TemplateModel
implementations.fmpp.ProgressListener
implementations.TemplateModel
-s to java.util.
- FunctionCall - Class in fmpp.tdd
- Symbolizes a TDD function call.
- FunctionCall(String, List) -
Constructor for class fmpp.tdd.FunctionCall
-
TemplateEnvironment
object used for the template
currently being executed by FMPP in the current thread.
Engine.getData(java.lang.String)
, but it also sees file processing
specifict variables (local data).
parse
call.
Properties
object.
ArgsParser.OptionDefinition
for the given option name.
ArgsParser.OptionDefinition
-s, sorted as they should
appear in an option help.
parse
call as Properties
object.
"source"
(since that can't be resolved to a concrete charset), but never
null
or "host"
.
BEGIN_ALL_PROCESSING
-END_ALL_PROCESSING
in milliseconds, or -1 if that is not known.
ProgressListener.EVENT_...
- getPropertyNames() -
Method in class fmpp.util.ArgsParser
- Returns the property names used in the options.
- getRelativePath(File, File) -
Static method in class fmpp.util.FileUtil
- Reaturns the path of a file or directory relative to a directory,
in native format.
- getRemoveExtension() -
Method in class fmpp.localdatabuilders.BshLocalDataBuilder
-
- getSeparator() -
Method in class fmpp.models.CsvSequence
-
- getSettingValue() -
Method in class fmpp.setting.FileWithSettingValue
-
- getShortName() -
Method in class fmpp.util.ArgsParser.OptionDefinition
- Returns the short-name of the option, or null if the option has no
short-name.
- getSkipUnchanged() -
Method in class fmpp.Engine
-
- getSourceEncoding() -
Method in class fmpp.Engine
- Returns the source encoding used for the template files.
- getSourceFile() -
Method in exception fmpp.ProcessingException
- Returns the source file the faliure relates to.
- getSourceFile() -
Method in class fmpp.TemplateEnvironment
- Returns the source file.
- getSourcePathTo(String) -
Method in class fmpp.TemplateEnvironment
- Same as
TemplateEnvironment.getPathTo(java.lang.String)
but with the source file and
source root directory.
- getSourceRoot() -
Method in class fmpp.Engine
- Returns the source root directory.
- getSourceRoot() -
Method in exception fmpp.ProcessingException
- Returns the "sourceRoot" used during the processing session that failed.
- getStandardSettingNames() -
Static method in class fmpp.setting.Settings
- Returns if the given name is the name of a standard setting.
- getStopOnError() -
Method in class fmpp.Engine
-
- getStringArgument(int, Object) -
Static method in class fmpp.util.DataLoaderUtil
-
- getStringArrayArgument(int, Object) -
Static method in class fmpp.util.DataLoaderUtil
-
- getStringArrayArgument(int, Object, boolean) -
Static method in class fmpp.util.DataLoaderUtil
-
- getStringArrayOption(String, Object) -
Static method in class fmpp.util.DataLoaderUtil
-
- getStringArrayOption(String, Object, boolean) -
Static method in class fmpp.util.DataLoaderUtil
-
- getStringOption(String, Object) -
Static method in class fmpp.util.DataLoaderUtil
-
- getSuccesful() -
Method in class fmpp.progresslisteners.StatisticsProgressListener
- Number of files where processing was successfull.
- getTagSyntax() -
Method in class fmpp.Engine
-
- getTarget() -
Method in class fmpp.tools.AntTask
-
- getTemplate() -
Method in class fmpp.TemplateEnvironment
- Retuns the FreeMarker
Template
object for the source file.
- getTemplateDataModelBuilder() -
Method in class fmpp.Engine
-
- getTemplateEnvironment() -
Method in class fmpp.Engine
- Returns the
TemplateEnvironment
.
- getText() -
Method in class fmpp.tdd.Fragment
- Returns the full TDD text that contains the fragmet.
- getText() -
Method in class fmpp.tdd.Interpreter
-
- getText() -
Method in class fmpp.tools.AntTask.AntAttributeSubstitution
-
- getTimeFormat() -
Method in class fmpp.Engine
-
- getTimeFormatPattern() -
Method in class fmpp.models.CsvSequence
-
- getTimeZone() -
Method in class fmpp.Engine
-
- getTimeZone() -
Method in class fmpp.models.CsvSequence
-
- getTrimCells() -
Method in class fmpp.models.CsvSequence
-
- getTypeName(Object) -
Static method in class fmpp.tdd.Interpreter
-
- getUrlEscapingCharset() -
Method in class fmpp.Engine
- Retruns the output encoding used; It can be
"output"
(since that can't be resolved to a concrete charset), but never
null
.
- getValidateXml() -
Method in class fmpp.Engine
-
- getVersionNumber() -
Static method in class fmpp.Engine
- Returns the FMPP version number string.
- getWarnings() -
Method in class fmpp.progresslisteners.StatisticsProgressListener
- Total number of warnings.
- getWrappedObject() -
Method in class fmpp.models.TemplateModelListSequence
-
- getWrappedXmlDocument() -
Method in class fmpp.TemplateEnvironment
- The same as
TemplateEnvironment.getXmlDocument()
, but returns the document as
freemarker.ext.dom.NodeModel
.
- getWriter(Writer, Map) -
Method in class fmpp.models.AddTransform
-
- getWriter(Writer, Map) -
Method in class fmpp.models.ClearTransform
-
- getWriter(Writer, Map) -
Method in class fmpp.models.RemoveTransform
-
- getWriter(Writer, Map) -
Method in class fmpp.models.SetTransform
-
- getXmlDocument() -
Method in class fmpp.TemplateEnvironment
- Returns the processed XML document (
pp.doc
) as
org.w3c.dom.Document
.
- getXmlEntiryResolver() -
Method in class fmpp.Engine
- Gets the XML entiry resolver used for reading XML documents.
- getXmlRendered() -
Method in class fmpp.progresslisteners.StatisticsProgressListener
- Number of XML files successfully rendered.
- getXpathEngine() -
Method in class fmpp.Engine
-
- group(String) -
Method in class fmpp.util.ArgsParser.OptionDefinition
- Convenience method; same as calling
property(propertyName, optionName)
, where optionName
is the long-name if that exists, otherwise the short-name.
file
is inside ascendant
,
otherwise returns false.
file
is inside ascendant
or
file
is the same as the ascendant
, otherwise
returns false.
Engine.getTemplateEnvironment()
will throw exception or not.
AntDataLoader.load(Engine, List, Task)
.
FileDataLoader
subclasess override this method to parse
the file.
load
, except that it adds the settings with
Settings.addDefaults(Map)
.
Map
passed to
its constructor.List
-s.WritableHash
.WritableSequence
."\n"
).
ProgressListener.EVENT_END_PROCESSING_SESSION
.
OutputStream
that simply drops what it gets.Writer
that simply drops what it gets.int
.
"host"
.
"source"
.
"source"
.
Engine
.property(String)
and
then propertyValue
.
WritableSequence
or WritableHash
.RuntimeException
that emulates J2SE 1.4+ cause-chains if it runs
on earlier versions.Boolean
value.
Integer
value.
Settings.set(String, Object)
.
Boolean
value.
Integer
value.
parse
creates for the options
(See Properties.Properties(Properties defaults)
).
Settings.setDefault(String, Object)
.
Settings.setDefaults(Map)
, but uses a Properties
object, so the values are strings.
Settings.setDefault(String, Object)
, but uses string value.
null
, then it is used as the header row
instead of the first row of the CSV file.
#
is required in FTL tags or not.
ending
.
WritableSequence
or sets/adds and
item to a WritableHash
.Settings.set(String, Object)
, but uses string value.
Settings.set(Map)
, but uses a Properties
object,
so the values are strings.
split(s, c, false)
.
BigDecimal
.
"yyyy-MM-dd"
or "yyyy-MM-dd z"
and returns it as
TemplateDateModel
.
"yyyy-MM-dd H:mm:ss"
or "yyyy-MM-dd h:mm:ss a"
or
"yyyy-MM-dd H:mm:ss z"
or "yyyy-MM-dd h:mm:ss a z"
and returns it as
TemplateDateModel
.
"H:mm:ss"
or "h:mm:ss a"
or "H:mm:ss z"
or "h:mm:ss a z"
and returns it as
TemplateDateModel
.
LocalDataBuilder
instead.java.util.List
of already wrapped objects
directly, with minimal resource usage.TemplateEnvironment.toSourceRootRelativePath(String)
but with the output
file and output root directory.
source-root
to sourceRoot
.
TemplateModel
.
XmlDataLoader
instead.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |