Protected Member Functions | |
| String | getDir () |
| void | saveFile (String contents, String file) |
| String | getExmplDir () |
| String | getOutputRootDir () |
| String | readingFile (String file) |
Private Attributes | |
| char | sep = System.getProperty("file.separator").charAt(0) |
Class that is used for getting the current directory and saves a file when helper classes are generated.
| String alma::acs::tools::comphelpergen::IOSpecification::getDir | ( | ) | [inline, protected] |
Gets the current root input directory.
Referenced by getExmplDir(), getOutputRootDir(), and alma::acs::tools::comphelpergen::CompHelperGeneratorTest::testGenerateAllComp().
| String alma::acs::tools::comphelpergen::IOSpecification::getExmplDir | ( | ) | [inline, protected] |
Gets the directory where the sample files are found.
Referenced by alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateCompDir(), alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateHelpComp(), alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateHelpMixedComp(), and alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateHelpXmlComp().
| String alma::acs::tools::comphelpergen::IOSpecification::getOutputRootDir | ( | ) | [inline, protected] |
Gets the directory where the sample files should be output.
Referenced by alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateCompDir(), alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateHelpComp(), alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateHelpMixedComp(), and alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateHelpXmlComp().
| String alma::acs::tools::comphelpergen::IOSpecification::readingFile | ( | String | file | ) | [inline, protected] |
Reads a sample test file and ignores all the line terminators.
Referenced by alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateCompDir(), alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateHelpComp(), alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateHelpMixedComp(), and alma::acs::tools::comphelpergen::CompHelperGeneratorTest::generateHelpXmlComp().
| void alma::acs::tools::comphelpergen::IOSpecification::saveFile | ( | String | contents, | |
| String | file | |||
| ) | [inline, protected] |
Saves a file given its contents and path are specified.
| contents | ||
| file |
Referenced by alma::acs::tools::comphelpergen::CompHelperClass::saveFile(), and alma::acs::tools::comphelpergen::CompHelperGenerator::saveHelperClasses().
char alma::acs::tools::comphelpergen::IOSpecification::sep = System.getProperty("file.separator").charAt(0) [private] |
Referenced by getExmplDir(), and getOutputRootDir().
1.6.2