@Test public void testReadConfig() throws FileNotFoundException { final File docFile = new File(docUri); final PsmConfig config = PsmConfigReader.readConfig(docFile, mockIndex); asserts(config); }
public static final PsmConfig<Type> readConfig(final String fileName, final ModelIndex mapper) throws FileNotFoundException { final InputStream istream = new BufferedInputStream(new FileInputStream(fileName)); try { return readConfig(istream, mapper); } finally { closeQuiet(istream); } }
PsmConfigReader { public static final PsmConfig<Type> readConfig(final String fileName, final ModelIndex mapper) throws FileNotFoundException { final InputStream istream = new BufferedInputStream(new FileInputStream(fileName)); try { return readConfig(istream, mapper); } finally { closeQuiet(istream); } } }
PsmConfigReader { public static final PsmConfig<Type> readConfig(final String fileName, final ModelIndex mapper) throws FileNotFoundException { final InputStream istream = new BufferedInputStream(new FileInputStream(fileName)); try { return readConfig(istream, mapper); } finally { closeQuiet(istream); } }  }
PsmConfigReader { public static final PsmConfig<Type> readConfig(final String fileName, final ModelIndex mapper) throws FileNotFoundException { final InputStream istream = new BufferedInputStream(new FileInputStream(fileName)); try { return readConfig(istream, mapper); } finally { closeQuiet(istream); } }  static final PsmConfig<Type> readConfig(final String fileName, final ModelIndex mapper); static final PsmConfig<Type> readConfig(final File file, final ModelIndex mapper); static final PsmConfig<Type> readConfig(final InputStream stream, final ModelIndex mapper); }
PsmConfigReader { public static final PsmConfig<Type> readConfig(final String fileName, final ModelIndex mapper) throws FileNotFoundException { final InputStream istream = new BufferedInputStream(new FileInputStream(fileName)); try { return readConfig(istream, mapper); } finally { closeQuiet(istream); } }  static final PsmConfig<Type> readConfig(final String fileName, final ModelIndex mapper); static final PsmConfig<Type> readConfig(final File file, final ModelIndex mapper); static final PsmConfig<Type> readConfig(final InputStream stream, final ModelIndex mapper);  }