
us.bpsm.edn.parser.Scanners Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edn-java Show documentation
Show all versions of edn-java Show documentation
edn-java is an parser and printer for 'edn' written in Java, for Java and
requiring no external dependencies.
package us.bpsm.edn.parser;
/**
* Factory for creating {@link Scanner}s.
*/
public class Scanners {
private static final Scanner DEFAULT_SCANNER =
new ScannerImpl(Parsers.defaultConfiguration());
/**
* Provides a {@link Scanner}.
*
* @return a {@link Scanner}, never null.
*/
public static Scanner newScanner() {
return DEFAULT_SCANNER;
}
private Scanners() {
throw new UnsupportedOperationException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy