Illustration einer tropischen Insel mit Palmen und einem hohen Berg

Java Blog für Programmierer

Find all hyperlinks in a text file

· Christian Ullenboom


FileChannel     fc = new FileInputStream( "c:/a.html" ).getChannel();ByteBuffer byteBuf = fc.map( FileChannel.MapMode.READ_ONLY, 0, fc.size() );CharBuffer charBuf = Charset.defaultCharset().newDecoder().decode( byteBuf );Pattern    pattern = Pattern.compile( "

Kategorien: Allgemein

← Alle Beiträge