Package ann4j
Class Writer
java.lang.Object
ann4j.Writer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
end()
This function closes the file that we opened in the start() functionstatic void
static void
setPrintInConsoleEnabled
(boolean bool) It sets the value of the static variable printInConsole to the value of the parameter bool.static void
It takes in a variable number of arguments and prints them outstatic void
-
Field Details
-
myWriter
-
-
Constructor Details
-
Writer
public Writer()
-
-
Method Details
-
write
It takes in a variable number of arguments and prints them out -
writeln
-
end
public static void end()This function closes the file that we opened in the start() function -
setFile
-
setPrintInConsoleEnabled
public static void setPrintInConsoleEnabled(boolean bool) It sets the value of the static variable printInConsole to the value of the parameter bool.- Parameters:
bool
- true if you want to print in console as well, false if you don't.
-