src/com/esotericsoftware/scar/Project.java
public String path (String path) {
		path = format(path);
		if (dir == null) {
			path = path.replace("//", "/");
			path = path.replace("\\/", "/");
			path = path.replace("/\\", "/");
			return path;
		}
		int pipeIndex = path.indexOf('|');
		if (pipeIndex > -1) {
			// Handle wildcard search patterns.
			path = path(path.substring(0, pipeIndex)) + path.substring(pipeIndex);
		} else {
			if (!new File(path).isAbsolute()) path = dir + "/" + path;
		}
		path = path.replace("//", "/");
		path = path.replace("\\/", "/");
		path = path.replace("/\\", "/");
		return path;
	}
/** Returns the specified path if it is an absolute path, otherwise returns the path relative to this project's directory. */
Returns the specified path if it is an absolute path, otherwise returns the path relative to this project's directory.
Returns the specified path if it is an absolute path otherwise returns the path relative to this project ' s directory .
public String path (String path) {
		path = format(path);
		if (dir == null) {
			path = path.replace("//", "/");
			path = path.replace("\\/", "/");
			path = path.replace("/\\", "/");
			return path;
		}
		int pipeIndex = path.indexOf('|');
		if (pipeIndex > -1) {
			path = path(path.substring(0, pipeIndex)) + path.substring(pipeIndex);
		} else {
			if (!new File(path).isAbsolute()) path = dir + "/" + path;
		}
		path = path.replace("//", "/");
		path = path.replace("\\/", "/");
		path = path.replace("/\\", "/");
		return path;
	}
public String path ( String path ) { path = format ( path ) ; if ( dir == null ) { path = path . replace ( "//" , "/" ) ; path = path . replace ( "\\/" , "/" ) ; path = path . replace ( "/\\" , "/" ) ; return path ; } int pipeIndex = path . indexOf ( '|' ) ; if ( pipeIndex > - 1 ) { path = path ( path . substring ( 0 , pipeIndex ) ) + path . substring ( pipeIndex ) ; } else { if ( ! new File ( path ) . isAbsolute ( ) ) path = dir + "/" + path ; } path = path . replace ( "//" , "/" ) ; path = path . replace ( "\\/" , "/" ) ; path = path . replace ( "/\\" , "/" ) ; return path ; }
Returns the specified path if it is an absolute path, otherwise returns the path relative to this project's directory.
Returns the specified path if it is an absolute path otherwise returns the path relative to this project ' s directory .
// Handle wildcard search patterns.