public byte [ ] get ( String fqn ) { final Node n = findNode ( fqn ) ; if ( n == null ) return null ; final byte [ ] buffer = n . getData ( ) ; if ( buffer == null ) return null ; return Arrays . copyOf ( buffer , buffer . length ) ; }
Finds a node given its name and returns the data associated with it . Returns null if the node was not found in the tree or the data is null .