+ protected MetaData getMeta(URL source, InputStream in) throws IOException {
+ MetaData meta = new MetaData();
+
+ meta.setTitle(getTitle(reset(in)));
+ meta.setAuthor(getAuthor(reset(in)));
+ meta.setDate(getDate(reset(in)));
+ meta.setTags(new ArrayList<String>());
+ meta.setSource(getSourceName());
+ meta.setUrl(source.toString());
+ meta.setPublisher("");
+ meta.setUuid(source.toString());
+ meta.setLuid("");
+ meta.setLang(getLang(source, reset(in))); // default is EN
+ meta.setSubject(getSubject(source));
+ meta.setType(getType().toString());
+ meta.setImageDocument(false);
+ meta.setCover(getCover(source));
+
+ return meta;