Autopsy  4.6.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.contentviewers.PListViewer Class Reference

Inherits JPanel, org.sleuthkit.autopsy.corecomponentinterfaces.FileTypeViewer, and Provider.

Classes

enum  PropertyType
 
class  PropKeyValue
 

Public Member Functions

 PListViewer ()
 
Component getComponent ()
 
ExplorerManager getExplorerManager ()
 
List< String > getSupportedMIMETypes ()
 
void resetComponent ()
 
void setFile (AbstractFile file)
 
void setFile (final AbstractFile file)
 

Private Member Functions

void customize ()
 
void exportButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void initComponents ()
 
List< PropKeyValue > parsePList (final byte[] plistbytes) throws IOException, PropertyListFormatException, ParseException, ParserConfigurationException, SAXException
 
PropKeyValue parseProperty (final String key, final NSObject value)
 
void processPlist (final AbstractFile plistFile)
 
void setColumnWidths ()
 
void setupTable (final List< PropKeyValue > tableRows)
 

Private Attributes

ExplorerManager explorerManager
 
javax.swing.JButton exportButton
 
javax.swing.JPanel hdrPanel
 
javax.swing.JPanel jPanel1
 
final Outline outline
 
final org.openide.explorer.view.OutlineView outlineView
 
javax.swing.JScrollPane plistTableScrollPane
 
NSDictionary rootDict
 

Static Private Attributes

static final Logger LOGGER = Logger.getLogger(PListViewer.class.getName())
 
static final String[] MIMETYPES = new String[]{"application/x-bplist"}
 
static final long serialVersionUID = 1L
 

Detailed Description

PListViewer - a file viewer for binary plist files.

Definition at line 67 of file PListViewer.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.PListViewer.PListViewer ( )

Member Function Documentation

void org.sleuthkit.autopsy.contentviewers.PListViewer.customize ( )
private
void org.sleuthkit.autopsy.contentviewers.PListViewer.exportButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
Component org.sleuthkit.autopsy.contentviewers.PListViewer.getComponent ( )

Returns the viewer component

Returns
the viewer component

Implements org.sleuthkit.autopsy.corecomponentinterfaces.FileTypeViewer.

Definition at line 262 of file PListViewer.java.

ExplorerManager org.sleuthkit.autopsy.contentviewers.PListViewer.getExplorerManager ( )
List<String> org.sleuthkit.autopsy.contentviewers.PListViewer.getSupportedMIMETypes ( )

Returns mime types supported by this viewer

Returns
list of supported mime types

Implements org.sleuthkit.autopsy.corecomponentinterfaces.FileTypeViewer.

Definition at line 242 of file PListViewer.java.

void org.sleuthkit.autopsy.contentviewers.PListViewer.initComponents ( )
private
List<PropKeyValue> org.sleuthkit.autopsy.contentviewers.PListViewer.parsePList ( final byte[]  plistbytes) throws IOException, PropertyListFormatException, ParseException, ParserConfigurationException, SAXException
private

Parses given binary stream and extracts Plist key/value

Parameters
plistbytes
Returns
list of PropKeyValue

Definition at line 424 of file PListViewer.java.

References org.sleuthkit.autopsy.contentviewers.PListViewer.parseProperty().

Referenced by org.sleuthkit.autopsy.contentviewers.PListViewer.processPlist().

PropKeyValue org.sleuthkit.autopsy.contentviewers.PListViewer.parseProperty ( final String  key,
final NSObject  value 
)
private

Parses the given plist key/value

Definition at line 368 of file PListViewer.java.

Referenced by org.sleuthkit.autopsy.contentviewers.PListViewer.parsePList().

void org.sleuthkit.autopsy.contentviewers.PListViewer.processPlist ( final AbstractFile  plistFile)
private
void org.sleuthkit.autopsy.contentviewers.PListViewer.resetComponent ( )

Resets the viewer component

Implements org.sleuthkit.autopsy.corecomponentinterfaces.FileTypeViewer.

Definition at line 271 of file PListViewer.java.

void org.sleuthkit.autopsy.contentviewers.PListViewer.setColumnWidths ( )
private

Sets up the column widths

Definition at line 341 of file PListViewer.java.

Referenced by org.sleuthkit.autopsy.contentviewers.PListViewer.processPlist().

void org.sleuthkit.autopsy.corecomponentinterfaces.FileTypeViewer.setFile ( AbstractFile  file)
inherited
void org.sleuthkit.autopsy.contentviewers.PListViewer.setFile ( final AbstractFile  file)

Sets the file to be displayed in the viewer

Parameters
filefile to display

Definition at line 252 of file PListViewer.java.

References org.sleuthkit.autopsy.contentviewers.PListViewer.processPlist().

void org.sleuthkit.autopsy.contentviewers.PListViewer.setupTable ( final List< PropKeyValue >  tableRows)
private

Sets up the columns in the display table

Parameters
tableRows

Definition at line 333 of file PListViewer.java.

Referenced by org.sleuthkit.autopsy.contentviewers.PListViewer.processPlist().

Member Data Documentation

ExplorerManager org.sleuthkit.autopsy.contentviewers.PListViewer.explorerManager
private
javax.swing.JButton org.sleuthkit.autopsy.contentviewers.PListViewer.exportButton
private
javax.swing.JPanel org.sleuthkit.autopsy.contentviewers.PListViewer.hdrPanel
private
javax.swing.JPanel org.sleuthkit.autopsy.contentviewers.PListViewer.jPanel1
private
final Logger org.sleuthkit.autopsy.contentviewers.PListViewer.LOGGER = Logger.getLogger(PListViewer.class.getName())
staticprivate

Definition at line 71 of file PListViewer.java.

final String [] org.sleuthkit.autopsy.contentviewers.PListViewer.MIMETYPES = new String[]{"application/x-bplist"}
staticprivate

Definition at line 70 of file PListViewer.java.

final Outline org.sleuthkit.autopsy.contentviewers.PListViewer.outline
private

Definition at line 74 of file PListViewer.java.

final org.openide.explorer.view.OutlineView org.sleuthkit.autopsy.contentviewers.PListViewer.outlineView
private
javax.swing.JScrollPane org.sleuthkit.autopsy.contentviewers.PListViewer.plistTableScrollPane
private
NSDictionary org.sleuthkit.autopsy.contentviewers.PListViewer.rootDict
private

Definition at line 77 of file PListViewer.java.

final long org.sleuthkit.autopsy.contentviewers.PListViewer.serialVersionUID = 1L
staticprivate

Definition at line 69 of file PListViewer.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2016 Basis Technology. Generated on: Mon May 7 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.