com.liferay.portal.tools
Class SourceFormatter

java.lang.Object
  extended by com.liferay.portal.tools.SourceFormatter

public class SourceFormatter
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SourceFormatter()
           
 
Method Summary
static void _checkPersistenceTestSuite()
           
static java.lang.String _formatImports(java.lang.String imports)
           
static void main(java.lang.String[] args)
           
static java.lang.String stripImports(java.lang.String content, java.lang.String packageDir, java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceFormatter

public SourceFormatter()
Method Detail

main

public static void main(java.lang.String[] args)

stripImports

public static java.lang.String stripImports(java.lang.String content,
                                            java.lang.String packageDir,
                                            java.lang.String className)
                                     throws java.io.IOException
Throws:
java.io.IOException

_checkPersistenceTestSuite

public static void _checkPersistenceTestSuite()
                                       throws java.io.IOException
Throws:
java.io.IOException

_formatImports

public static java.lang.String _formatImports(java.lang.String imports)
                                       throws java.io.IOException
Throws:
java.io.IOException