<h2>org.das2.catalog.DasDirNode</h2><p>All directory node objects can have children</p> <hr> <a name="childPath"></a> <h2>childPath</h2> childPath( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/catalog/DasNode.html'>org.das2.catalog.DasNode</a> child ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>Given a child object get the complete path to it</p> <h3>Parameters</h3> child - The child object for which the path is desired. <h3>Returns:</h3> a String <br><br> <a href="https://github.com/autoplot/dev/search?q=childPath&unscoped_q=childPath">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/catalog/DasDirNode.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/catalog/DasDirNode.html#childPath">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/catalog/DasDirNode.java">[view source]</a> <br> <br> <hr> <a name="get"></a> <h2>get</h2> get( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> sChildId ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/catalog/DasNode.html'>org.das2.catalog.DasNode</a> <p>Get a child node by it's ID.</p> <h3>Parameters</h3> sChildId - a String <h3>Returns:</h3> The child node, or null if no child node has the id sChildId <br><br> <a href="https://github.com/autoplot/dev/search?q=get&unscoped_q=get">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/catalog/DasDirNode.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/catalog/DasDirNode.html#get">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/catalog/DasDirNode.java">[view source]</a> <br> <br> <hr> <a name="list"></a> <h2>list</h2> list( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String[]</a> <p>List child nodes of this directory type item</p> <h3>Returns:</h3> A list of child node string ids. Return values may be used in the get node function below. <br><br> <a href="https://github.com/autoplot/dev/search?q=list&unscoped_q=list">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/catalog/DasDirNode.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/catalog/DasDirNode.html#list">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/catalog/DasDirNode.java">[view source]</a> <br> <br> <hr> <a name="nearest"></a> <h2>nearest</h2> nearest( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> sSubPath, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/catalog/DasNode.html'>org.das2.catalog.DasNode</a> <p>Walk down a given sub-path as far as possible and retrieve the closest descendant FIXME: Find a better name for this function, maybe resolveDeepest</p> <h3>Parameters</h3> sSubPath - A sub-path to resolve into a fully loaded node. If this node is a root catalog, then the sub-path is the complete path. <br> mon - A progress monitor since sub-node lookup can involve network operations <h3>Returns:</h3> The deepest resolvable node which may just be "this", or even the "parent" in cases where this node is a stub that can't even resolve itself. <br><br> <a href="https://github.com/autoplot/dev/search?q=nearest&unscoped_q=nearest">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/catalog/DasDirNode.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/catalog/DasDirNode.html#nearest">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/catalog/DasDirNode.java">[view source]</a> <br> <br> <hr> <a name="pathSeparator"></a> <h2>pathSeparator</h2> pathSeparator( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>Get the separator string to place after my path but before then names of any child items when generating a child path string.</p> <h3>Parameters</h3> mon - The separator may be defined in the object data which may trigger Phase-2 construction. Since this is a network operation a progress monitor may be supplied. <h3>Returns:</h3> The path separator string, which may be zero length (and that's okay). <br><br> <a href="https://github.com/autoplot/dev/search?q=pathSeparator&unscoped_q=pathSeparator">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/catalog/DasDirNode.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/catalog/DasDirNode.html#pathSeparator">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/catalog/DasDirNode.java">[view source]</a> <br> <br> <hr> <a name="resolve"></a> <h2>resolve</h2> resolve( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> sSubPath, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/catalog/DasNode.html'>org.das2.catalog.DasNode</a> <p>Walk down a given sub-path and retrieve a fully constructed descendant node.</p> <h3>Parameters</h3> sSubPath - A sub-path to resolve into a fully loaded node. If this node is a root catalog, then the sub-path is the complete path. <br> mon - A progress monitor since sub-node lookup can involve network operations <h3>Returns:</h3> The full constructed child node object. <br><br> <a href="https://github.com/autoplot/dev/search?q=resolve&unscoped_q=resolve">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/catalog/DasDirNode.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/catalog/DasDirNode.html#resolve">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/catalog/DasDirNode.java">[view source]</a> <br> <br>