Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.drools.planner.benchmark.api
Interface ProblemIO

All Known Implementing Classes:
  XStreamProblemIO

    public interface ProblemIO

Method Summary
`String` | `getFileExtension()` The file extension does not include the dot that separates it from the base name.
`Solution` | `read(File inputSolutionFile)`
`void` | `write(Solution solution, File outputSolutionFile)`

Method Detail

### getFileExtension

    String getFileExtension()

  The file extension does not include the dot that separates it from the base name.

  Returns:
    never null, for example "xml"

### read

    Solution read(File inputSolutionFile)

  Parameters:
    `inputSolutionFile` - never null
  Returns:
    never null

### write

    void write(Solution solution,
               File outputSolutionFile)

  Parameters:
    `solution` - never null
    `outputSolutionFile` - never null, parent directory already exists

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.