Autopsy  4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo Class Reference

Public Member Functions

String formatForTick (Interval interval)
 
synchronized List< Interval > getIntervals ()
 
long getLowerBound ()
 
int getPeriodsInRange ()
 
TimeUnits getPeriodSize ()
 
DateTimeFormatter getTickFormatter ()
 
Interval getTimeRange ()
 
long getUpperBound ()
 

Static Public Member Functions

static RangeDivisionInfo getRangeDivisionInfo (Interval timeRange)
 

Private Member Functions

 RangeDivisionInfo (Interval timeRange, int periodsInRange, TimeUnits periodSize, DateTimeFormatter tickformatter, long lowerBound, long upperBound)
 

Private Attributes

final TimeUnits blockSize
 
ImmutableList< Interval > intervals
 
final long lowerBound
 
final int numberOfBlocks
 
final DateTimeFormatter tickFormatter
 
final Interval timeRange
 
final long upperBound
 

Detailed Description

Bundles up the results of analyzing a time range for the appropriate TimeUnits to use to visualize it. Partly, this class exists so I don't have to have more member variables in other places , and partly because I can only return a single value from a function. This might only be a temporary design but is working well for now.

Definition at line 48 of file RangeDivisionInfo.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.RangeDivisionInfo ( Interval  timeRange,
int  periodsInRange,
TimeUnits  periodSize,
DateTimeFormatter  tickformatter,
long  lowerBound,
long  upperBound 
)
private

Member Function Documentation

String org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.formatForTick ( Interval  interval)
synchronized List<Interval> org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getIntervals ( )
long org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getLowerBound ( )
int org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getPeriodsInRange ( )
TimeUnits org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getPeriodSize ( )
static RangeDivisionInfo org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getRangeDivisionInfo ( Interval  timeRange)
static
DateTimeFormatter org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getTickFormatter ( )
Interval org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getTimeRange ( )
long org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getUpperBound ( )

Member Data Documentation

final TimeUnits org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.blockSize
private

the size of the periods we should divide the interval into

Definition at line 53 of file RangeDivisionInfo.java.

Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getPeriodSize().

ImmutableList<Interval> org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.intervals
private
final long org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.lowerBound
private

an adjusted lower bound for the range such that is lines up with a block boundary before or at the start of the timerange

Definition at line 70 of file RangeDivisionInfo.java.

Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getLowerBound(), and org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.RangeDivisionInfo().

final int org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.numberOfBlocks
private

The number of Blocks we are going to divide the interval into.

Definition at line 58 of file RangeDivisionInfo.java.

Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getPeriodsInRange().

final DateTimeFormatter org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.tickFormatter
private

a DateTimeFormatter corresponding to the block size for the tick marks on the date axis of the graph

Definition at line 64 of file RangeDivisionInfo.java.

Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getTickFormatter().

final Interval org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.timeRange
private
final long org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.upperBound
private

an adjusted upper bound for the range such that is lines up with a block boundary at or after the end of the timerange

Definition at line 76 of file RangeDivisionInfo.java.

Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getUpperBound(), and org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.RangeDivisionInfo().


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

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