/** * Returns the classes named in the given common format metadata file. */ private Collection getFromMetaDataFile(File file) throws IOException { FileReader in = null; try { in = new FileReader(file); return getFromMetaData(in); } finally { if (in != null) try { in.close(); } catch (IOException ioe) { } } }
/** * Returns the classes named in the given common format metadata file. */ private Collection<String> getFromMetaDataFile(File file) throws IOException { FileReader in = null; try { in = new FileReader(file); return getFromMetaData(in); } finally { if (in != null) try { in.close(); } catch (IOException ioe) { } } }
/** * Returns the classes named in the given common format metadata file. */ private Collection<String> getFromMetaDataFile(File file) throws IOException { FileReader in = null; try { in = new FileReader(file); return getFromMetaData(in); } finally { if (in != null) try { in.close(); } catch (IOException ioe) { } } }
/** * Returns the classes named in the given common format metadata file. */ private Collection<String> getFromMetaDataFile(File file) throws IOException { FileReader in = null; try { in = new FileReader(file); return getFromMetaData(in); } finally { if (in != null) try { in.close(); } catch (IOException ioe) { } } }
/** * Parse the names in the given metadata iterator stream, closing the * stream on completion. */ private void appendTypeNames(Object source, InputStream in, List names) throws IOException { try { if (source.toString().endsWith(".class")) names.add(getFromClass(in)); names.addAll(getFromMetaData(new InputStreamReader(in))); } finally { try { in.close(); } catch (IOException ioe) { } } }
/** * Parse the names in the given metadata iterator stream, closing the * stream on completion. */ private void appendTypeNames(Object source, InputStream in, List<String> names) throws IOException { try { if (source.toString().endsWith(".class")) names.add(getFromClass(in)); names.addAll(getFromMetaData(new InputStreamReader(in))); } finally { try { in.close(); } catch (IOException ioe) { } } }
/** * Parse the names in the given metadata iterator stream, closing the * stream on completion. */ private void appendTypeNames(Object source, InputStream in, List<String> names) throws IOException { try { if (source.toString().endsWith(".class")) names.add(getFromClass(in)); names.addAll(getFromMetaData(new InputStreamReader(in))); } finally { try { in.close(); } catch (IOException ioe) { } } }
/** * Parse the names in the given metadata iterator stream, closing the * stream on completion. */ private void appendTypeNames(Object source, InputStream in, List<String> names) throws IOException { try { if (source.toString().endsWith(".class")) names.add(getFromClass(in)); names.addAll(getFromMetaData(new InputStreamReader(in))); } finally { try { in.close(); } catch (IOException ioe) { } } }