info.monitorenter.cpdetector
Class CharsetPrinter

java.lang.Object
  extended by info.monitorenter.cpdetector.CharsetPrinter

public class CharsetPrinter
extends Object

Author:
demian reachable (at)\@ rootring.com Simple class that tries to detect the encoding of files given on the command-line.

Constructor Summary
CharsetPrinter()
           
 
Method Summary
 String guessEncoding(File f)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharsetPrinter

public CharsetPrinter()
Method Detail

guessEncoding

public String guessEncoding(File f)
                     throws MalformedURLException,
                            IOException
Throws:
MalformedURLException
IOException

main

public static void main(String[] args)


Copyleft ㊢ 2003-2004 MPL 1.1, All Rights Footloose.