@Test public void testParseMultipleCharsets() throws IOException { final Charset unicodeCharset; try { unicodeCharset = Charset.forName("unicode"); } catch (UnsupportedCharsetException e) { Assume.assumeNoException(e); return; } testParseFile(HostsFileParser.parse(new File(getClass().getResource("hosts-unicode").getFile()), CharsetUtil.UTF_8, CharsetUtil.ISO_8859_1, unicodeCharset)); }
public static HostsFileEntries parse() throws IOException { return parse(locateHostsFile()); }
HostsFileParser { public static HostsFileEntries parse() throws IOException { return parse(locateHostsFile()); } }
HostsFileParser { public static HostsFileEntries parse() throws IOException { return parse(locateHostsFile()); } private  HostsFileParser(); }
HostsFileParser { public static HostsFileEntries parse() throws IOException { return parse(locateHostsFile()); } private  HostsFileParser(); static HostsFileEntries parseSilently(); static HostsFileEntries parseSilently(Charset... charsets); static HostsFileEntries parse(); static HostsFileEntries parse(File file); static HostsFileEntries parse(File file, Charset... charsets); static HostsFileEntries parse(Reader reader); }
HostsFileParser { public static HostsFileEntries parse() throws IOException { return parse(locateHostsFile()); } private  HostsFileParser(); static HostsFileEntries parseSilently(); static HostsFileEntries parseSilently(Charset... charsets); static HostsFileEntries parse(); static HostsFileEntries parse(File file); static HostsFileEntries parse(File file, Charset... charsets); static HostsFileEntries parse(Reader reader);  }