public class GrabPhoneNumbersExample extends Object
PhoneExtractingContentHandler
to get a list of all of the phone numbers from every file in a directory.
You can run this main method by running
mvn exec:java -Dexec.mainClass="org.apache.tika.example.GrabPhoneNumbersExample" -Dexec.args="/path/to/directory"
from the tika-example directory.
Constructor and Description |
---|
GrabPhoneNumbersExample() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static void |
process(Path path) |
static void |
processFolder(Path folder) |
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.