Code example for Attributes

Methods: getValue

0
        throws FileSystemException 
    { 
        try 
        { 
            final Attributes attr = getAttributes();
            final String value = attr.getValue(attrName);
            return value;
        } 
        catch (IOException ioe)
        { 
            throw new FileSystemException(attrName.toString(), ioe);
        } 
    } 
 
    Name lookupName(String attrName)
    { 
        if (Name.CLASS_PATH.toString().equals(attrName))
        { 
            return Name.CLASS_PATH;
        } 
        else if (Name.CONTENT_TYPE.toString().equals(attrName))