public class MetaDataScalar {
public String value(File file) {
IOHelper ioHelper = new IOHelper(file);
new FlvHeader(ioHelper);
MetaDataParser parseMeta = new MetaDataParser(ioHelper);
parseMeta.findMetaTag();
StringWriter writer = new StringWriter();
try {
parseMeta.writeMetaData(writer);
} catch (Exception e1) {
}
return writer.toString();
}