Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
synchronized List< Interval > | getIntervals (DateTimeZone tz) |
long | getLowerBound () |
Interval | getOriginalTimeRange () |
TimeUnits | getPeriodSize () |
DateTimeFormatter | getTickFormatter () |
long | getUpperBound () |
Static Public Member Functions | |
static RangeDivision | getRangeDivision (Interval timeRange, DateTimeZone timeZone) |
Private Member Functions | |
RangeDivision (Interval timeRange, TimeUnits periodSize, long lowerBound, long upperBound) | |
Private Attributes | |
final long | lowerBound |
final TimeUnits | periodSize |
final Interval | timeRange |
final long | upperBound |
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 41 of file RangeDivision.java.
|
private |
Definition at line 65 of file RangeDivision.java.
References org.sleuthkit.autopsy.timeline.utils.RangeDivision.lowerBound, org.sleuthkit.autopsy.timeline.utils.RangeDivision.periodSize, org.sleuthkit.autopsy.timeline.utils.RangeDivision.timeRange, and org.sleuthkit.autopsy.timeline.utils.RangeDivision.upperBound.
Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivision.getRangeDivision().
synchronized List<Interval> org.sleuthkit.autopsy.timeline.utils.RangeDivision.getIntervals | ( | DateTimeZone | tz | ) |
Definition at line 136 of file RangeDivision.java.
References org.sleuthkit.autopsy.timeline.utils.RangeDivision.getPeriodSize().
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsUpdateTask.call().
long org.sleuthkit.autopsy.timeline.utils.RangeDivision.getLowerBound | ( | ) |
Definition at line 131 of file RangeDivision.java.
References org.sleuthkit.autopsy.timeline.utils.RangeDivision.lowerBound.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.EventCountsChart.CountsIntervalSelector.adjustInterval(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshTimeUI().
Interval org.sleuthkit.autopsy.timeline.utils.RangeDivision.getOriginalTimeRange | ( | ) |
Definition at line 110 of file RangeDivision.java.
References org.sleuthkit.autopsy.timeline.utils.RangeDivision.timeRange.
TimeUnits org.sleuthkit.autopsy.timeline.utils.RangeDivision.getPeriodSize | ( | ) |
Definition at line 123 of file RangeDivision.java.
References org.sleuthkit.autopsy.timeline.utils.RangeDivision.periodSize.
Referenced by org.sleuthkit.autopsy.timeline.ui.detailview.datamodel.DetailsViewModel.getEventStripes(), org.sleuthkit.autopsy.timeline.utils.RangeDivision.getIntervals(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram().
|
static |
Static factory method.
Determine the period size, number of periods, whole period bounds, and formatters to use to visualize the given timerange.
timeRange | |
timeZone |
Definition at line 83 of file RangeDivision.java.
References org.sleuthkit.autopsy.timeline.zooming.TimeUnits.DAYS, org.sleuthkit.autopsy.timeline.zooming.TimeUnits.HOURS, org.sleuthkit.autopsy.timeline.zooming.TimeUnits.MINUTES, org.sleuthkit.autopsy.timeline.zooming.TimeUnits.MONTHS, org.sleuthkit.autopsy.timeline.zooming.TimeUnits.propertyOf(), org.sleuthkit.autopsy.timeline.utils.RangeDivision.RangeDivision(), org.sleuthkit.autopsy.timeline.zooming.TimeUnits.SECONDS, and org.sleuthkit.autopsy.timeline.zooming.TimeUnits.YEARS.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.EventCountsChart.CountsIntervalSelector.adjustInterval(), org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsUpdateTask.call(), org.sleuthkit.autopsy.timeline.ui.detailview.datamodel.DetailsViewModel.getEventStripes(), org.sleuthkit.autopsy.timeline.zooming.ZoomSettingsPane.initialize(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshTimeUI().
DateTimeFormatter org.sleuthkit.autopsy.timeline.utils.RangeDivision.getTickFormatter | ( | ) |
Get a DateTimeFormatter corresponding to the block size for the tick marks on the date axis of a graph.
Definition at line 119 of file RangeDivision.java.
References org.sleuthkit.autopsy.timeline.zooming.TimeUnits.getTickFormatter().
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsUpdateTask.call().
long org.sleuthkit.autopsy.timeline.utils.RangeDivision.getUpperBound | ( | ) |
Definition at line 127 of file RangeDivision.java.
References org.sleuthkit.autopsy.timeline.utils.RangeDivision.upperBound.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.EventCountsChart.CountsIntervalSelector.adjustInterval(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshTimeUI().
|
private |
An adjusted lower bound for the range such that it lines up with a period boundary before or at the start of the timerange
Definition at line 52 of file RangeDivision.java.
Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivision.getLowerBound(), and org.sleuthkit.autopsy.timeline.utils.RangeDivision.RangeDivision().
|
private |
The size of the periods we should divide the interval into.
Definition at line 46 of file RangeDivision.java.
Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivision.getPeriodSize(), and org.sleuthkit.autopsy.timeline.utils.RangeDivision.RangeDivision().
|
private |
The time range this RangeDivision describes
Definition at line 63 of file RangeDivision.java.
Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivision.getOriginalTimeRange(), and org.sleuthkit.autopsy.timeline.utils.RangeDivision.RangeDivision().
|
private |
An adjusted upper bound for the range such that it lines up with a period boundary at or after the end of the timerange
Definition at line 58 of file RangeDivision.java.
Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivision.getUpperBound(), and org.sleuthkit.autopsy.timeline.utils.RangeDivision.RangeDivision().
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.