All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.bpsm.edn.parser.Scanners Maven / Gradle / Ivy

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 - 2024 Weber Informatics LLC | Privacy Policy