![JAR search and dependency download from the Maven repository](/logo.png)
de.weltraumschaf.commons.shell.Scanners Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
Common Utility Classes for Java.
/*
* LICENSE
*
* "THE BEER-WARE LICENSE" (Revision 43):
* "Sven Strittmatter" wrote this file.
* As long as you retain this notice you can do whatever you want with
* this stuff. If we meet some day, and you think this stuff is worth it,
* you can buy me a non alcohol-free beer in return.
*
* Copyright (C) 2012 "Sven Strittmatter"
*/
package de.weltraumschaf.commons.shell;
/**
* Factory to create scanners.
*
* @author Sven Strittmatter
*/
public final class Scanners {
/**
* Hide constructor for factories sake.
*/
private Scanners() {
super();
}
/**
* Creates a new scanner.
*
* @param commandMap map key word literals to command types
* @return new instance
*/
public static Scanner newScanner(final LiteralCommandMap commandMap) {
return new DefaultScanner(commandMap);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy