Skip navigation links
A C D E F G H I J L N P R S V 

A

AbstractCacheableFormatter - Class in net.revelc.code.formatter
 
AbstractCacheableFormatter() - Constructor for class net.revelc.code.formatter.AbstractCacheableFormatter
 
addProfile(Profile) - Method in class net.revelc.code.formatter.model.Profiles
Adds the profile.
addSetting(Setting) - Method in class net.revelc.code.formatter.model.Profile
Adds the setting.

C

ConfigReader - Class in net.revelc.code.formatter.model
This class reads a config file for Eclipse code formatter.
ConfigReader() - Constructor for class net.revelc.code.formatter.model.ConfigReader
 
ConfigReadException - Exception in net.revelc.code.formatter.model
An exception thrown when there is an error reading settings from the code formatter profile of an Eclipse formatter config file.
ConfigReadException(String) - Constructor for exception net.revelc.code.formatter.model.ConfigReadException
Instantiates a new config read exception.
ConfigurationSource - Interface in net.revelc.code.formatter
 

D

determineLineEnding(String) - Static method in enum net.revelc.code.formatter.LineEnding
Returns the most occurring line-ending characters in the file text or null if no line-ending occurs the most.
doFormat(String, LineEnding) - Method in class net.revelc.code.formatter.AbstractCacheableFormatter
 
doFormat(String, LineEnding) - Method in class net.revelc.code.formatter.java.JavaFormatter
 
doFormat(String, LineEnding) - Method in class net.revelc.code.formatter.javascript.JavascriptFormatter
 
doFormatFile(File, FormatterMojo.ResultCollector, Properties, String, boolean) - Method in class net.revelc.code.formatter.FormatterMojo
Format individual file.
doFormatFile(File, FormatterMojo.ResultCollector, Properties, String, boolean) - Method in class net.revelc.code.formatter.ValidateMojo
 

E

encoding - Variable in class net.revelc.code.formatter.AbstractCacheableFormatter
 
execute() - Method in class net.revelc.code.formatter.FormatterMojo
Execute.
execute() - Method in class net.revelc.code.formatter.HelpMojo
execute() - Method in class net.revelc.code.formatter.ValidateMojo
 

F

formatFile(File, LineEnding, boolean) - Method in class net.revelc.code.formatter.AbstractCacheableFormatter
 
formatFile(File, LineEnding, boolean) - Method in interface net.revelc.code.formatter.Formatter
Format individual file.
Formatter - Interface in net.revelc.code.formatter
 
FormatterMojo - Class in net.revelc.code.formatter
A Maven plugin mojo to format Java source code using the Eclipse code formatter.
FormatterMojo() - Constructor for class net.revelc.code.formatter.FormatterMojo
 

G

getChars() - Method in enum net.revelc.code.formatter.LineEnding
 
getCompilerCodegenTargetPlatform() - Method in interface net.revelc.code.formatter.ConfigurationSource
 
getCompilerCodegenTargetPlatform() - Method in class net.revelc.code.formatter.FormatterMojo
 
getCompilerCompliance() - Method in interface net.revelc.code.formatter.ConfigurationSource
 
getCompilerCompliance() - Method in class net.revelc.code.formatter.FormatterMojo
 
getCompilerSources() - Method in interface net.revelc.code.formatter.ConfigurationSource
 
getCompilerSources() - Method in class net.revelc.code.formatter.FormatterMojo
 
getEncoding() - Method in interface net.revelc.code.formatter.ConfigurationSource
 
getEncoding() - Method in class net.revelc.code.formatter.FormatterMojo
 
getId() - Method in class net.revelc.code.formatter.model.Setting
Gets the id.
getKind() - Method in class net.revelc.code.formatter.model.Profile
Gets the kind.
getLog() - Method in interface net.revelc.code.formatter.ConfigurationSource
 
getProfiles() - Method in class net.revelc.code.formatter.model.Profiles
Gets the profiles.
getSettings() - Method in class net.revelc.code.formatter.model.Profile
Gets the settings.
getTargetDirectory() - Method in interface net.revelc.code.formatter.ConfigurationSource
 
getTargetDirectory() - Method in class net.revelc.code.formatter.FormatterMojo
 
getValue() - Method in class net.revelc.code.formatter.model.Setting
Gets the value.

H

HelpMojo - Class in net.revelc.code.formatter
Display help information on formatter-maven-plugin.
Call mvn formatter:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
HelpMojo() - Constructor for class net.revelc.code.formatter.HelpMojo
 

I

init(Map<String, String>, ConfigurationSource) - Method in class net.revelc.code.formatter.AbstractCacheableFormatter
 
init(Map<String, String>, ConfigurationSource) - Method in interface net.revelc.code.formatter.Formatter
Initialize the CodeFormatter instance to be used by this component.
init(Map<String, String>, ConfigurationSource) - Method in class net.revelc.code.formatter.java.JavaFormatter
 
init(Map<String, String>, ConfigurationSource) - Method in class net.revelc.code.formatter.javascript.JavascriptFormatter
 
initCfg(ConfigurationSource) - Method in class net.revelc.code.formatter.AbstractCacheableFormatter
 
isInitialized() - Method in interface net.revelc.code.formatter.Formatter
return true if this formatter have been initialized
isInitialized() - Method in class net.revelc.code.formatter.java.JavaFormatter
 
isInitialized() - Method in class net.revelc.code.formatter.javascript.JavascriptFormatter
 

J

JavaFormatter - Class in net.revelc.code.formatter.java
 
JavaFormatter() - Constructor for class net.revelc.code.formatter.java.JavaFormatter
 
JavascriptFormatter - Class in net.revelc.code.formatter.javascript
 
JavascriptFormatter() - Constructor for class net.revelc.code.formatter.javascript.JavascriptFormatter
 

L

LINE_SEPARATOR - Static variable in enum net.revelc.code.formatter.SystemUtil
 
LineEnding - Enum in net.revelc.code.formatter
 
log - Variable in class net.revelc.code.formatter.AbstractCacheableFormatter
 

N

net.revelc.code.formatter - package net.revelc.code.formatter
 
net.revelc.code.formatter.java - package net.revelc.code.formatter.java
 
net.revelc.code.formatter.javascript - package net.revelc.code.formatter.javascript
 
net.revelc.code.formatter.model - package net.revelc.code.formatter.model
 

P

Profile - Class in net.revelc.code.formatter.model
A class representing the profile XML element in the Eclipse formatter config file, including the kind attribute and Map of setting id and value.
Profile() - Constructor for class net.revelc.code.formatter.model.Profile
 
PROFILE_KIND - Static variable in class net.revelc.code.formatter.model.Profiles
The Constant PROFILE_KIND.
Profiles - Class in net.revelc.code.formatter.model
A class representing the profiles XML element in the Eclipse formatter config file, including a List of profile setting Maps with id and value.
Profiles() - Constructor for class net.revelc.code.formatter.model.Profiles
 

R

read(InputStream) - Method in class net.revelc.code.formatter.model.ConfigReader
Read from the input and return it's configuration settings as a Map.
Result - Enum in net.revelc.code.formatter
 

S

setId(String) - Method in class net.revelc.code.formatter.model.Setting
Sets the id.
setKind(String) - Method in class net.revelc.code.formatter.model.Profile
Sets the kind.
Setting - Class in net.revelc.code.formatter.model
A class representing the setting XML element in the Eclipse formatter config file, including the id and value attributes.
Setting() - Constructor for class net.revelc.code.formatter.model.Setting
 
setValue(String) - Method in class net.revelc.code.formatter.model.Setting
Sets the value.
SystemUtil - Enum in net.revelc.code.formatter
Private SystemUtil Enum Class.

V

ValidateMojo - Class in net.revelc.code.formatter
This mojo is very similar to Formatter mojo, but it is focused on CI servers.
ValidateMojo() - Constructor for class net.revelc.code.formatter.ValidateMojo
 
valueOf(String) - Static method in enum net.revelc.code.formatter.LineEnding
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.revelc.code.formatter.Result
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.revelc.code.formatter.SystemUtil
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.revelc.code.formatter.LineEnding
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.revelc.code.formatter.Result
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.revelc.code.formatter.SystemUtil
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I J L N P R S V 
Skip navigation links

Copyright © 2010–2016. All rights reserved.