Class CheapTimeImporter.CheapTimeInputBuilder
- java.lang.Object
-
- org.optaplanner.examples.common.app.LoggingMain
-
- org.optaplanner.examples.common.persistence.AbstractSolutionImporter.InputBuilder
-
- org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder<CheapTimeSolution>
-
- org.optaplanner.examples.cheaptime.persistence.CheapTimeImporter.CheapTimeInputBuilder
-
- Enclosing class:
- CheapTimeImporter
public static class CheapTimeImporter.CheapTimeInputBuilder extends AbstractTxtSolutionImporter.TxtInputBuilder<CheapTimeSolution>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CheapTimeImporter.CheapTimeInputBuilder.ForecastInputBuilder
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder
bufferedReader, inputFile
-
Fields inherited from class org.optaplanner.examples.common.app.LoggingMain
logger
-
-
Constructor Summary
Constructors Constructor Description CheapTimeInputBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInputId()
CheapTimeSolution
readSolution()
-
Methods inherited from class org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder
parseBooleanFromNumber, readConstantLine, readConstantLine, readEmptyLine, readIntegerValue, readIntegerValue, readIntegerValue, readLongValue, readLongValue, readLongValue, readOptionalConstantLine, readOptionalStringValue, readOptionalStringValue, readOptionalStringValue, readStringValue, readStringValue, readStringValue, readUntilConstantLine, removePrefixSuffixFromLine, setBufferedReader, setInputFile, skipOptionalConstantLines, splitBy, splitBy, splitByCommaAndTrim, splitByCommaAndTrim, splitByPipelineAndTrim, splitBySemicolonSeparatedValue, splitBySemicolonSeparatedValue, splitBySpace, splitBySpace, splitBySpace, splitBySpace, splitBySpacesOrTabs, splitBySpacesOrTabs, splitBySpacesOrTabs
-
-
-
-
Method Detail
-
readSolution
public CheapTimeSolution readSolution() throws IOException
- Specified by:
readSolution
in classAbstractTxtSolutionImporter.TxtInputBuilder<CheapTimeSolution>
- Throws:
IOException
-
getInputId
public String getInputId()
- Overrides:
getInputId
in classAbstractTxtSolutionImporter.TxtInputBuilder<CheapTimeSolution>
-
-