VUtils – Release 1
Index
A
- abort() - Method in interface IOTransactional
-
This method has no effect if the operation has already been committed or aborted.
- abort() - Method in interface Transactional
-
This method has no effect if the operation has already been committed or aborted.
- abort() - Method in interface TransactionalOutputStream
-
This method has no effect if the output stream has already been committed or aborted.
- abort() - Method in interface TransactionalUncheckedOutputStream
-
This method has no effect if the output stream has already been committed or aborted.
- abort() - Method in interface TransactionalUncheckedWriter
-
This method has no effect if the writer has already been committed or aborted.
- abort() - Method in interface TransactionalWriter
-
This method has no effect if the writer has already been committed or aborted.
- asPrintWriter() - Method in interface VUWriter
- asValidationStatus() - Method in class ValueStatus
- asWriter() - Method in interface VUWriter
C
- clean() - Method in interface CleaningService.Cleanable
-
Unregister the cleaning action and its associated object and invoke the cleaning action.
- CleaningService - Class in org.violetlib.util
-
A wrapper around the JDK 8 and JDK 9+ Cleaners.
- CleaningService.Cleanable - Interface in org.violetlib.util
-
This interface provides the ability to explicitly run a registered cleaning action.
- close() - Method in interface IOTransactional
-
The close method is defined to invoke the abort method.
- close() - Method in interface Transactional
-
The close method is defined to invoke the abort method.
- close() - Method in interface TransactionalOutputStream
-
The close method is defined to invoke the abort method.
- close() - Method in interface TransactionalUncheckedOutputStream
-
The close method is defined to invoke the abort method.
- close() - Method in interface TransactionalUncheckedWriter
-
The close method is defined to invoke the abort method.
- close() - Method in interface TransactionalWriter
-
The close method is defined to invoke the abort method.
- close() - Method in class WriterFromVUWriter
-
This method has no effect.
- commit() - Method in interface IOTransactional
-
This method has no effect if the operation has already been committed or aborted.
- commit() - Method in interface Transactional
-
This method has no effect if the operation has already been committed or aborted.
- commit() - Method in interface TransactionalOutputStream
-
This method has no effect if the output stream has already been committed or aborted.
- commit() - Method in interface TransactionalUncheckedOutputStream
-
This method has no effect if the output stream has already been committed or aborted.
- commit() - Method in interface TransactionalUncheckedWriter
-
This method has no effect if the writer has already been committed or aborted.
- commit() - Method in interface TransactionalWriter
-
This method has no effect if the writer has already been committed or aborted.
- constructMessage(boolean, String, Object[]) - Static method in class FormattedMessageSupport
-
This convenience method is intended primarily for creating HTML error messages that refer to source text.
- create() - Static method in class VStringWriter
- create(VULineWriter) - Static method in class VULineWritingConverter
-
Create a writer that collects the supplied text into lines that are written indivually to the specified line
writer.
- create(Writer) - Static method in class VUWriterWrapper
- create(VUWriter) - Static method in class WriterFromVUWriter
- create(Runnable) - Static method in class LAFMenu
-
Create a look and feel menu.
- create(Object, Runnable) - Static method in class CleaningService
-
Register an object and a cleaning action to run when the object becomes phantom reachable.
- create() - Static method in class StringMessageReporter
D
- description() - Method in class ValidationStatus
-
Return a description of a user input that is not valid.
- description() - Method in class ValueStatus
-
Return a description of user input that is not valid.
E
- equals(Object) - Method in class ValidationStatus
- equals(Object) - Method in class ValueStatus
- equals(Object, Object) - Static method in class VObjects
-
Returns true if the arguments are equal to each other and false otherwise.
- error(String) - Method in interface ErrorReporter
-
Report an error.
- error(String) - Method in class NullReporter
- ErrorReporter - Interface in org.violetlib.util
-
A simple interface for reporting errors.
- Extensible - Interface in org.violetlib.util
-
An interface that allows the runtime discovery of additional supported interfaces.
- Extensions - Class in org.violetlib.util
-
Obtain an object extension that is required.
- Extensions() - Constructor for class Extensions
F
- flush() - Method in interface VOutputStream
- flush() - Method in class VStringWriter
- flush() - Method in interface VULineWriter
- flush() - Method in class VULineWritingConverter
-
Calling flush will output the current non-empty partial line as if a newline had been written.
- flush() - Method in interface VUOutputStream
- flush() - Method in interface VUWriter
- flush() - Method in class VUWriterWrapper
- flush() - Method in interface VWriter
- flush() - Method in class WriterFromVUWriter
- formattedError(String, Object...) - Method in interface ErrorReporter
-
Report an error using a constructed message.
- formattedInfo(String, Object...) - Method in interface SimpleReporter
-
Report information using a constructed message.
- FormattedMessageSupport - Class in org.violetlib.util
- formattedWarning(String, Object...) - Method in interface ErrorReporter
-
Issue a warning using a constructed message.
- from(Writer) - Static method in interface VUWriter
- fromEditorText(String) - Method in interface TextPresentationModel
-
Attempt to convert text obtained from a text editor to the appropriate value.
G
- getExtension(Class<T>) - Method in interface Extensible
-
Return an extension, if supported.
- getExtension(Object, Class<T>) - Static method in class Extensions
-
Obtain an object extension, if supported.
- getJavaMajorVersion() - Static method in class JavaPlatform
-
Identify the Java major version.
- getRequiredExtension(Object, Class<T>) - Static method in class Extensions
H
- hashCode() - Method in class ValidationStatus
- hashCode() - Method in class ValueStatus
I
- info(String) - Method in interface MessageReporter
-
Report information.
- info(String) - Method in class NullReporter
- info(String) - Method in class StringMessageReporter
- invalid(String) - Static method in class ValidationStatus
-
Create a state to describe user input that is not valid.
- invalid(String) - Static method in class ValueStatus
-
Create a state to describe user input that is not valid.
- IOTransactional - Interface in org.violetlib.io
-
A transactional operation on a closable resource.
- isEditable() - Method in interface TextPresentationModel
-
Indicate whether this presentation model supports editing.
- isValid() - Method in class ValidationStatus
-
Indicate whether the user input is valid or not.
- isValid() - Method in class ValueStatus
-
Indicate whether the user input is valid or not.
- isValidating() - Method in interface TextPresentationModel
-
Indicate whether this presentation model validates supplied editor text.
J
- JavaPlatform - Class in org.violetlib.util
-
Obtain information about the Java plaatform.
L
- LAFMenu - Class in org.violetlib.test
-
A menu that allows the user to select and install a known LookAndFeel
.
M
- MessageReporter - Interface in org.violetlib.util
- messages() - Method in class StringMessageReporter
N
- newLine() - Method in class VStringWriter
- newLine() - Method in class VULineWritingConverter
- newLine() - Method in interface VUWriter
- newLine() - Method in class VUWriterWrapper
- newLine() - Method in interface VWriter
- NullReporter - Class in org.violetlib.util
-
A reporter that discards the messages.
O
- org.violetlib.io - package org.violetlib.io
- org.violetlib.test - package org.violetlib.test
- org.violetlib.util - package org.violetlib.util
S
- SimpleReporter - Interface in org.violetlib.util
-
A simple interface for reporting errors and information.
- sink() - Static method in interface ErrorReporter
-
Return an error reporter that discards all messages.
- sink() - Static method in interface MessageReporter
-
Return a message reporter that discards all messages.
- sink() - Static method in interface SimpleReporter
-
Return an error reporter that discards all messages.
- string() - Static method in interface MessageReporter
-
Return a message reporter that collects messages in a String.
- StringMessageReporter - Class in org.violetlib.util
-
A message reporter that collects messages in a String.
- supports(Object, Class<?>) - Static method in class Extensions
-
Determine whether an object supports the specified extension.
- supportsAny(Object, Class<?>...) - Static method in class Extensions
-
Determine whether an object supports any of a specified set of extensions.
T
- TextPresentationModel<E> - Interface in org.violetlib.util
-
An encapsulation of the knowledge of presenting and (optionally) editing a certain class of values using text.
- toDisplayText(E) - Method in interface TextPresentationModel
-
Convert a value to its display representation.
- toEditorText(E) - Method in interface TextPresentationModel
-
Convert a value to the text to display in an editor when opening an editor on the value.
- toString() - Method in class VStringWriter
- toString() - Method in class ValidationStatus
- toString() - Method in class ValueStatus
- Transactional - Interface in org.violetlib.io
-
A general transactional operation.
- TransactionalOutputStream - Interface in org.violetlib.io
-
A transactional output stream.
- TransactionalUncheckedOutputStream - Interface in org.violetlib.io
-
A transactional output stream that throws runtime exceptions.
- TransactionalUncheckedWriter - Interface in org.violetlib.io
-
A transactional text writer that throws runtime exceptions.
- TransactionalWriter - Interface in org.violetlib.io
-
A transactional text writer.
V
- valid() - Static method in class ValidationStatus
-
Return the validation state indicating that the user input is valid.
- valid(V) - Static method in class ValueStatus
-
Return a state for valid user input.
- ValidationStatus - Class in org.violetlib.util
-
A description of the validity of user input.
- value() - Method in class ValueStatus
-
Return the value, if the user input is valid.
- ValueStatus<V> - Class in org.violetlib.util
-
A description of parsed user input.
- VObjects - Class in org.violetlib.util
- VOutputStream - Interface in org.violetlib.io
-
Basic output stream operations, excluding close
.
- VStringWriter - Class in org.violetlib.io
-
A writer that collects text in a String.
- VULineWriter - Interface in org.violetlib.io
-
A writer that writes individual lines and throws an unchecked exception in case of error.
- VULineWritingConverter - Class in org.violetlib.io
-
Allows a writer to supply text to a line writer.
- VUOutputStream - Interface in org.violetlib.io
-
Basic output stream operations that either throw an unchecked exception (IORuntimeException
) or throw no
exceptions.
- VUWriter - Interface in org.violetlib.io
-
Basic writer operations that either throw an unchecked exception (IORuntimeException
) or throw no exceptions.
- VUWriterWrapper - Class in org.violetlib.io
-
Wraps a
Writer
to support the
VUWriter
interface.
- VWriter - Interface in org.violetlib.io
-
Basic writer operations that throw IOException
.
W
- warning(String) - Method in interface ErrorReporter
-
Issue a warning.
- warning(String) - Method in class NullReporter
- write(int) - Method in interface VOutputStream
- write(byte[]) - Method in interface VOutputStream
- write(byte[], int, int) - Method in interface VOutputStream
- write(char) - Method in class VStringWriter
- write(String) - Method in class VStringWriter
- write(char) - Method in class VULineWritingConverter
- write(String) - Method in class VULineWritingConverter
- write(int) - Method in interface VUOutputStream
- write(byte[]) - Method in interface VUOutputStream
- write(byte[], int, int) - Method in interface VUOutputStream
- write(char) - Method in interface VUWriter
- write(String) - Method in interface VUWriter
- write(char) - Method in class VUWriterWrapper
- write(String) - Method in class VUWriterWrapper
- write(char) - Method in interface VWriter
- write(String) - Method in interface VWriter
- write(char[], int, int) - Method in class WriterFromVUWriter
- writeln() - Method in interface VULineWriter
- writeln(String) - Method in interface VULineWriter
-
Write the specified text as a single line.
- writeln() - Method in interface VUWriter
- writeln(String) - Method in interface VUWriter
- writeln() - Method in interface VWriter
- writeln(String) - Method in interface VWriter
- WriterFromVUWriter - Class in org.violetlib.io
-