Class ProcessingOptions
- java.lang.Object
-
- org.stathissideris.ascii2image.core.ProcessingOptions
-
public class ProcessingOptions extends Object
- Author:
- Efstathios Sideris
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_TAB_SIZE
static int
FORMAT_GIF
static int
FORMAT_JPEG
static int
FORMAT_PNG
static int
IGNORE_COLOR_CODES
static int
IGNORE_TAGS
static int
RENDER_COLOR_CODES
static int
RENDER_TAGS
static int
USE_COLOR_CODES
static int
USE_TAGS
-
Constructor Summary
Constructors Constructor Description ProcessingOptions()
-
Method Summary
-
-
-
Field Detail
-
USE_TAGS
public static final int USE_TAGS
- See Also:
- Constant Field Values
-
RENDER_TAGS
public static final int RENDER_TAGS
- See Also:
- Constant Field Values
-
IGNORE_TAGS
public static final int IGNORE_TAGS
- See Also:
- Constant Field Values
-
USE_COLOR_CODES
public static final int USE_COLOR_CODES
- See Also:
- Constant Field Values
-
RENDER_COLOR_CODES
public static final int RENDER_COLOR_CODES
- See Also:
- Constant Field Values
-
IGNORE_COLOR_CODES
public static final int IGNORE_COLOR_CODES
- See Also:
- Constant Field Values
-
FORMAT_JPEG
public static final int FORMAT_JPEG
- See Also:
- Constant Field Values
-
FORMAT_PNG
public static final int FORMAT_PNG
- See Also:
- Constant Field Values
-
FORMAT_GIF
public static final int FORMAT_GIF
- See Also:
- Constant Field Values
-
DEFAULT_TAB_SIZE
public static final int DEFAULT_TAB_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
areAllCornersRound
public boolean areAllCornersRound()
- Returns:
-
getColorCodesProcessingMode
public int getColorCodesProcessingMode()
- Returns:
-
getExportFormat
public int getExportFormat()
- Returns:
-
performSeparationOfCommonEdges
public boolean performSeparationOfCommonEdges()
- Returns:
-
getTagProcessingMode
public int getTagProcessingMode()
- Returns:
-
setAllCornersAreRound
public void setAllCornersAreRound(boolean b)
- Parameters:
b
-
-
setColorCodesProcessingMode
public void setColorCodesProcessingMode(int i)
- Parameters:
i
-
-
setExportFormat
public void setExportFormat(int i)
- Parameters:
i
-
-
setPerformSeparationOfCommonEdges
public void setPerformSeparationOfCommonEdges(boolean b)
- Parameters:
b
-
-
setTagProcessingMode
public void setTagProcessingMode(int i)
- Parameters:
i
-
-
getInputFilename
public String getInputFilename()
- Returns:
-
getOutputFilename
public String getOutputFilename()
- Returns:
-
setInputFilename
public void setInputFilename(String string)
- Parameters:
string
-
-
setOutputFilename
public void setOutputFilename(String string)
- Parameters:
string
-
-
verbose
public boolean verbose()
- Returns:
-
printDebugOutput
public boolean printDebugOutput()
- Returns:
-
setVerbose
public void setVerbose(boolean b)
- Parameters:
b
-
-
setPrintDebugOutput
public void setPrintDebugOutput(boolean b)
- Parameters:
b
-
-
overwriteFiles
public boolean overwriteFiles()
- Returns:
-
setOverwriteFiles
public void setOverwriteFiles(boolean b)
- Parameters:
b
-
-
getTabSize
public int getTabSize()
- Returns:
-
setTabSize
public void setTabSize(int i)
- Parameters:
i
-
-
getCharacterEncoding
public String getCharacterEncoding()
-
setCharacterEncoding
public void setCharacterEncoding(String characterEncoding)
-
getCustomShapes
public HashMap<String,CustomShapeDefinition> getCustomShapes()
-
setCustomShapes
public void setCustomShapes(HashMap<String,CustomShapeDefinition> customShapes)
-
putAllInCustomShapes
public void putAllInCustomShapes(HashMap<String,CustomShapeDefinition> customShapes)
-
getFromCustomShapes
public CustomShapeDefinition getFromCustomShapes(String tagName)
-
-