java.lang.Object
atlantafx.base.theme.ThemeCompiler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
convertToBinary
(Path dir) Converts all CSS files in the specified directory to BSS.void
convertToBinary
(Path in, Path out) Converts the specified CSS file to BSS.static void
The main class that accepts exactly one parameter, which is the path to the source directory to be scanned for CSS files.
-
Constructor Details
-
ThemeCompiler
public ThemeCompiler()
-
-
Method Details
-
main
The main class that accepts exactly one parameter, which is the path to the source directory to be scanned for CSS files.Usage:
java ThemeCompiler <path>
- See Also:
-
convertToBinary
Converts all CSS files in the specified directory to BSS.- Parameters:
dir
- The source directory to scan for CSS files.- Throws:
IOException
- to punish you for using Java
-
convertToBinary
Converts the specified CSS file to BSS. If no output file is given, then the input file name is used with an extension of 'bss'.- Parameters:
in
- The input file path.out
- The output file path.- Throws:
IOException
- to punish you for using Java
-