public void openFile(File aFile, String charset)
        throws IOException
    {
        setContent(new BinaryContent(aFile), charset);
    }
Open file for editing

@param aFile the file to be edited
@throws IOException when a file has no read access
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/HexManager.java