Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Summary

This section describes the Primordium implementations of org.osid.id.Id.

...

Code Block
titleFrom a String
    /**
     *  Returns an Id from a string representation of a URN.
     *
     *  @param urn the string to be parsed
     *  @return an Id with the string components
     *  @throws org.osid.InvalidArgumentException string could not be parsed
     *  @throws org.osid.NullArgumentException urn is null
     */

    public static org.osid.id.Id valueOf(String urn)

GlobalURLId

net.okapia.osid.primordium.id.global.GlobalURLId is an immutable class implementing osid.id.Id.

...

Code Block
titleFrom a URL
    /**
     *  Returns an Id from a Java File. The path name is converted to its canonical absolute form 
     *  by removing redundant components such as . and ..
     *
     *  @param file the file
     *  @throws org.osid.InvalidArgumentException could not get path
     *  @throws org.osid.NullArgumentException file is null
     */

    public static org.osid.id.Id valueOf(java.io.File file)

See Also