Package tv.porst.jhexview

Examples of tv.porst.jhexview.SimpleDataProvider


        if (JFileChooser.APPROVE_OPTION == chooser.showOpenDialog(frame)) {

          final File file = chooser.getSelectedFile();

          try {
            hexView.setData(new SimpleDataProvider(readFile(file)));
            hexView.setDefinitionStatus(DefinitionStatus.DEFINED);
            hexView.setEnabled(true);
          } catch (final IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
View Full Code Here


    if (file == loadedFile) {
      return;
    }

    hexView.setData(new SimpleDataProvider(file.getSWFFile().getDecompressedData()));

    if (loadedFile == null) {
      hexView.setDefinitionStatus(DefinitionStatus.DEFINED);
      hexView.setEnabled(true);
    }
View Full Code Here

TOP

Related Classes of tv.porst.jhexview.SimpleDataProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.