public void parse(
InputStream stream, ContentHandler handler,
Metadata metadata, ParseContext context)
throws IOException, SAXException, TikaException {
TrueTypeFont font;
TTFParser parser = new TTFParser();
TikaInputStream tis = TikaInputStream.cast(stream);
if (tis != null && tis.hasFile()) {
font = parser.parseTTF(tis.getFile());
} else {
font = parser.parseTTF(stream);
}
metadata.set(Metadata.CONTENT_TYPE, TYPE.toString());
metadata.set(TikaCoreProperties.CREATED, font.getHeader().getCreated().getTime());
metadata.set(