public static Metadata fromManifest ( InputStream is ) { try { Manifest mf = new Manifest ( is ) ; return fromManifest ( mf ) ; } catch ( IOException e ) { // Problems? Too bad! } return new Metadata ( ) ; }
Attempts to parse a MANIFEST . MF file from an input stream .