Liferay 7.0-ce-m6

com.liferay.portal.tools.servicebuilder
Class ServiceBuilder

java.lang.Object
  extended by com.liferay.portal.tools.servicebuilder.ServiceBuilder

public class ServiceBuilder
extends Object


Field Summary
static String AUTHOR
           
 
Constructor Summary
ServiceBuilder()
           
 
Method Summary
static String getContent(String fileName)
           
static boolean hasAnnotation(com.thoughtworks.qdox.model.AbstractBaseJavaEntity abstractBaseJavaEntity, String annotationName)
           
static void writeFile(File file, String content)
           
static void writeFile(File file, String content, String author)
           
static void writeFile(File file, String content, String author, Map<String,Object> jalopySettings)
           
static void writeFileRaw(File file, String content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTHOR

public static final String AUTHOR
See Also:
Constant Field Values
Constructor Detail

ServiceBuilder

public ServiceBuilder()
Method Detail

getContent

public static String getContent(String fileName)
                         throws Exception
Throws:
Exception

hasAnnotation

public static boolean hasAnnotation(com.thoughtworks.qdox.model.AbstractBaseJavaEntity abstractBaseJavaEntity,
                                    String annotationName)

writeFile

public static void writeFile(File file,
                             String content)
                      throws IOException
Throws:
IOException

writeFile

public static void writeFile(File file,
                             String content,
                             String author)
                      throws IOException
Throws:
IOException

writeFile

public static void writeFile(File file,
                             String content,
                             String author,
                             Map<String,Object> jalopySettings)
                      throws IOException
Throws:
IOException

writeFileRaw

public static void writeFileRaw(File file,
                                String content)
                         throws IOException
Throws:
IOException

Liferay 7.0-ce-m6