This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import weka.core.converters.Loader; | |
import weka.core.converters.Saver; | |
import weka.core.converters.ArffLoader; | |
import weka.core.converters.XrffSaver; | |
IPatientService ps = ... //get IPatientService | |
Data d = ... //get Data entity | |
Path pathToArff = locateFile(Data d); | |
Path pathToXML = ... //get it! | |
try(InputStream in = Files.newInputStream(pathToArff); OutputStream out = Files.newOutputStream(pathToXML) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// API proposal # 1 | |
lazy val root = project(file(".") | |
.enablePlugins(SbtNativePackager, JavaServerArchetype) | |
.settings( | |
"maintainer" in Debian := "Your Name <your.name@your-company.com" | |
) | |
) | |
// Implementation may look like | |
object SbtNativePackager extends AutoPlugin |
NewerOlder