object Path
Helper methods for paths.
- Alphabetic
- By Inheritance
- Path
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
basePath(path: String): String
Form a relative path to the root, based on the number of directories in a path.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateTargetFile(localPath: String, globalPageMappings: Map[String, String]): (String) ⇒ String
Provide the final target file given a particular source file/link
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
leaf(path: String): String
Provide the leaf (file) from a path
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
refRelativePath(root: List[String], path: List[String], leafFile: String): String
Provide the modified path relative to the root path
-
def
relativeLocalPath(rootPath: String, fullPath: String): String
Provide the local path given the root path and the full path
-
def
relativeMapping(localPath: String, globalPageMappings: Map[String, String]): Map[String, String]
Provide the mappings "source to target" files relative to the current file path given the root mappings
-
def
relativeRootPath(file: File, localPath: String): String
Provide the relative root path from a local path related to a full path
-
def
replaceExtension(from: String, to: String)(link: String): String
Replace the file extension in a path.
-
def
replaceSuffix(from: String, to: String)(path: String): String
Replace the suffix of a path.
-
def
resolve(base: String, path: String): String
Resolve a relative path against a base path.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toUnixStyleRootPath(path: Path): String
Normalize the path to Unix style root path.
Normalize the path to Unix style root path. Removes drive letter and appends the "/" symbol. Also converts backslashes to slashes.
-
def
toUnixStyleRootPath(pathString: String): String
Normalize the path to Unix style root path.
Normalize the path to Unix style root path. Removes drive letter and appends the "/" symbol. Also converts backslashes to slashes.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )