-
Deprecated ClassesClassDescriptionAs of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, wrap the output from
String.getBytes(String)
into aByteArrayInputStream
.As of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, useByteArrayOutputStream.toString(String)
.This class has been deprecated. When writing XML, users can create theXmlStreamWriter
instance directly. For other usages, usingFiles
helper methods is recommended.
-
Deprecated FieldsFieldDescriptionUse
Commandline.setExecutable(String)
instead.UseOs
class instead.UseOs
class instead.
-
Deprecated MethodsMethodDescriptionUse
Commandline.createArg()
insteadUseCommandline.createArg(boolean)
insteadUseCommandLineUtils.quote(String)
instead.UseCommandLineUtils.toString(String[])
instead.UseCommandLineUtils.translateCommandline(String)
instead.instead useDAG.getVertices()
usejava.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
usejava.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
Buffering streams is actively harmful! See the class description as to why. UseIOUtil.copy(InputStream, OutputStream)
instead.use try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteaduse try-with-resources instead
InputStream
directory to theMXParser.setInput(InputStream, String)
, giving anull
encoding to let the parser figure it out. For non xml usages, use the JDKFiles
utility methods.