Liferay 6.2.0

com.liferay.portal.tools.sourceformatter
Interface SourceProcessor

All Known Implementing Classes:
BaseSourceProcessor, CSSSourceProcessor, FTLSourceProcessor, JavaSourceProcessor, JSPSourceProcessor, JSSourceProcessor, PropertiesSourceProcessor, SHSourceProcessor, SQLSourceProcessor, TLDSourceProcessor, XMLSourceProcessor

public interface SourceProcessor


Method Summary
abstract  void format(boolean useProperties, boolean printErrors, boolean autoFix, String mainReleaseVersion)
           
abstract  String format(String fileName, boolean useProperties, boolean printErrors, boolean autoFix, String mainReleaseVersion)
           
abstract  List<String> getErrorMessages()
           
 

Method Detail

format

void format(boolean useProperties,
            boolean printErrors,
            boolean autoFix,
            String mainReleaseVersion)
            throws Exception
Throws:
Exception

format

String format(String fileName,
              boolean useProperties,
              boolean printErrors,
              boolean autoFix,
              String mainReleaseVersion)
              throws Exception
Throws:
Exception

getErrorMessages

List<String> getErrorMessages()

Liferay 6.2.0