Find all hyperlinks in a text file
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( "