Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
String | fromPath (IPath path) |
IPath | fromString (String name) |
String de.fu_berlin.inf.dpp.intellij.project.filesystem.PathFactory.fromPath | ( | IPath | path | ) |
Converts a path to its string representation
path | the path to convert |
NullPointerException | if path is null |
IllegalArgumentException | if the path is not relative (e.g it presents a full path like /etc/init.d/ ) |
Implements de.fu_berlin.inf.dpp.filesystem.IPathFactory.
IPath de.fu_berlin.inf.dpp.intellij.project.filesystem.PathFactory.fromString | ( | String | name | ) |
Converts a string to a path object
name | the name of the path to convert |
NullPointerException | if name is null |
IllegalArgumentException | if the resulting path object is not a relative path |
Implements de.fu_berlin.inf.dpp.filesystem.IPathFactory.