Package com.google.zxing.client.j2se
Class CommandLineRunner
java.lang.Object
com.google.zxing.client.j2se.CommandLineRunner
This simple command line utility decodes files, directories of files, or URIs which are passed
as arguments. By default it uses the normal decoding algorithms, but you can pass --try_harder
to request that hint. The raw text of each barcode is printed, and when running against
directories, summary statistics are also displayed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
isExpandable
(Iterable<URI> inputs) private static boolean
isFileOrDir
(URI uri) static void
retainValid
(Iterable<URI> inputs, boolean recursive)
-
Constructor Details
-
CommandLineRunner
private CommandLineRunner()
-
-
Method Details
-
main
- Throws:
Exception
-
expand
- Throws:
IOException
-
retainValid
-
isExpandable
-
isFileOrDir
-