Class DetectingViewer

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class DetectingViewer extends JFrame implements ActionListener
This simple application demonstrates how to use the CharsetDetector API. It opens a file or web page, detects the encoding, and then displays it using that encoding.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For serialization
      See Also:
    • text

      private JTextPane text
    • fileChooser

      private JFileChooser fileChooser
    • scriptTag

      private byte[] scriptTag
    • styleTag

      private byte[] styleTag
    • BUFFER_SIZE

      private static int BUFFER_SIZE
  • Constructor Details

  • Method Details