Example #1
0
 /**
  * Return a string representation of the resource in the form 'resource:[path]'.
  *
  * @return the string value
  */
 public String toString() {
   if (null != m_directive) {
     if (m_directive.isLocal()) {
       return toString("project");
     }
   }
   return toString("resource");
 }
Example #2
0
 boolean isLocal() {
   if (null != m_directive) {
     return m_directive.isLocal();
   }
   return false;
 }