terp - the Codemesh Modular
Template Interpreter v1.3.304

Package com.codemesh.terp.eval.converters

The com.codemesh.terp.eval.converters package contains many of the built-in converter types that are provided by terp.

See:
          Description

Class Summary
ReflectionConverter A converter that attempts to convert the object to a programmable type represented by its name.
ToBoolean Converts various types to Booleans.
ToByte Converts various types to byte values.
ToCharacter Converts various types to characters.
ToCodegen A converter for code generator tasks.
ToDate Converts various types to Dates.
ToDouble Converts various types to Double values.
ToExec A converter that creates a ProcessExecutor that can be used to invoke other applications directly from a terp script.
ToFile A converter that creates a File.
ToFilePattern A converter for ANT-style file patterns.
ToFloat Converts various types to Double values.
ToGuid A converter to type Guid.
ToHost Created by IntelliJ IDEA.
ToInteger Converts various types to Integer values.
ToIP Created by IntelliJ IDEA.
ToIterator A converter that attempts to create an Iterator from the source object.
ToJar A converter for jar tool executors.
ToJava A converter for Java executors.
ToJavac A converter for Java compiler executors.
ToJavadoc A converter to Javadoc executors.
ToJdk A converter that returns a JDK instance or null.
ToJre A converter for Java Runtime Environments.
ToJuggernet A converter for JuggerNET code generator tasks.
ToJunction A converter for JunC++ion code generator tasks.
ToList A converter to a list type.
ToLong Converts various types to Long values.
ToMap Created by IntelliJ IDEA.
ToObjectConverter An identity converter that is used when we semantically need a converter but the converter does not have to do anything.
ToOS Converts to an operating system instance.
ToPath A converter that creates a Path.
ToProcArch A converter to a processor architecture.
ToRegex A converter for regular expression patterns.
ToSet Created by IntelliJ IDEA.
ToShell Created by IntelliJ IDEA.
ToShort Converts various types to Short values.
ToString A converter that returns a string instance.
ToURI Converts an object to a URI.
ToVersion Created by IntelliJ IDEA.
 

Package com.codemesh.terp.eval.converters Description

The com.codemesh.terp.eval.converters package contains many of the built-in converter types that are provided by terp. Not all converters are bundled here though. Some of the more complex converter types are converters for executors that are bundled with their executors by an outer interface. Please see the following document for more information on converters and executors:


terp - the Codemesh Modular
Template Interpreter v1.3.304

Copyright © 2008-2012 by Codemesh, Inc. All Rights Reserved.