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 classCheapTimeImporter.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 StringgetInputId()CheapTimeSolutionreadSolution()-
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:
readSolutionin classAbstractTxtSolutionImporter.TxtInputBuilder<CheapTimeSolution>- Throws:
IOException
-
getInputId
public String getInputId()
- Overrides:
getInputIdin classAbstractTxtSolutionImporter.TxtInputBuilder<CheapTimeSolution>
-
-