22 package org.sleuthkit.autopsy.rejview;
24 import com.williballenthin.rejistry.RegistryValue;
26 import java.io.UnsupportedEncodingException;
27 import java.util.LinkedList;
28 import java.util.List;
29 import org.openide.util.NbBundle.Messages;
30 import java.util.logging.Level;
33 @Messages({
"RejTreeValueNode.defaultValueName.text=(Default)"})
40 static final String DEFAULT_VALUE_NAME = Bundle.RejTreeValueNode_defaultValueName_text();
41 private final RegistryValue
value;
47 @Messages({
"RejTreeValueNode.failureValueName.text=PARSE FAILED"})
51 String valueName = this.value.getName();
52 if (valueName.isEmpty()) {
53 return DEFAULT_VALUE_NAME;
56 }
catch (UnsupportedEncodingException ex) {
57 logger.log(Level.WARNING,
"Failed to parse _value name", ex);
58 return Bundle.RejTreeValueNode_failureValueName_text();
69 return new LinkedList<>();
75 RegistryValue getValue() {
final RegistryValue value
RejTreeValueNode(RegistryValue value)
List< RejTreeNode > getChildren()
synchronized static Logger getLogger(String name)
RejTreeNodeView getView()