public PropertyStatus getProperty ( QualifiedName propertyName ) throws DAVException { Collection names = new HashSet ( ) ; names . add ( propertyName ) ; URLTable result = getProperties ( names , IContext . DEPTH_ZERO ) ; URL url = null ; try { url = new URL ( locator . getResourceURL ( ) ) ; } catch ( MalformedURLException e ) { throw new SystemException ( e ) ; } Hashtable propTable = ( Hashtable ) result . get ( url ) ; if ( propTable == null ) throw new DAVException ( Policy . bind ( "exception.lookup" , url . toExternalForm ( ) ) ) ; //$NON-NLS-1$ return ( PropertyStatus ) propTable . get ( propertyName ) ; }
Return the property status for the property with the given name .