Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.classpath.tools.giop.grmic
Class Generator  view Generator download Generator.java

java.lang.Object
  extended bygnu.classpath.tools.giop.grmic.Generator
Direct Known Subclasses:
GiopRmicCompiler

public class Generator
extends java.lang.Object

Contains basic methods, used in code generation.


Constructor Summary
Generator()
           
 
Method Summary
 java.lang.String getResource(java.lang.String name)
          Get resource with the given name, as string.
 java.lang.String replaceAll(java.lang.String template, java.util.Map variables)
          Replace the variable references (starting from #) in the template string by the values, present in the given map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Generator

public Generator()
Method Detail

getResource

public java.lang.String getResource(java.lang.String name)
Get resource with the given name, as string.


replaceAll

public java.lang.String replaceAll(java.lang.String template,
                                   java.util.Map variables)
Replace the variable references (starting from #) in the template string by the values, present in the given map. The strings, not present in the variable map, are ignored.