Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static ComponentOrientation | getTextDirection (String text) |
static boolean | isValidSolrUTF8 (char ch) |
Text utilities
Definition at line 26 of file TextUtil.java.
|
static |
Determine and return text orientation
text | text to determine the text orientation in |
Definition at line 36 of file TextUtil.java.
|
static |
This method determines if a passed-in Java char (16 bits) is a valid UTF-8 printable character, returning true if so, false if not.
Note that this method can have ramifications for characters outside the Unicode Base Multilingual Plane (BMP), which require more than 16 bits. We are using Java characters (16 bits) to look at the data and this will not accurately identify any non-BMP character (larger than 16 bits) ending with 0xFFFF and 0xFFFE. In the interest of a fast solution, we have chosen to ignore the extended planes above Unicode BMP for the time being. The net result of this is some non-BMP characters may be interspersed with '^' characters in Autopsy.
ch | the character to test |
Definition at line 79 of file TextUtil.java.
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.