public abstract class AbstractOsFileConventions extends java.lang.Object implements OsFileConventions
| Constructor and Description |
|---|
AbstractOsFileConventions() |
| Modifier and Type | Method and Description |
|---|---|
static OsFileConventions |
createForCurrentHost()
Return an implementation of ScriptOSFileConventions that will work when the Host OS is the
same as the OS that generated the ndk-build -nB script.
|
java.lang.String |
getFileName(java.lang.String filename) |
java.lang.String |
getFileParent(java.lang.String filename) |
boolean |
isPathAbsolute(java.lang.String file) |
java.io.File |
toFile(java.io.File parent,
java.lang.String child) |
java.io.File |
toFile(java.lang.String filename) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsplitCommandLine, tokenizeCommandLineToEscaped, tokenizeCommandLineToRawpublic static OsFileConventions createForCurrentHost()
public boolean isPathAbsolute(@NonNull
java.lang.String file)
isPathAbsolute in interface OsFileConventions@NonNull
public java.lang.String getFileParent(@NonNull
java.lang.String filename)
getFileParent in interface OsFileConventions@NonNull
public java.lang.String getFileName(@NonNull
java.lang.String filename)
getFileName in interface OsFileConventions@NonNull
public java.io.File toFile(@NonNull
java.lang.String filename)
toFile in interface OsFileConventions@NonNull
public java.io.File toFile(@NonNull
java.io.File parent,
@NonNull
java.lang.String child)
toFile in interface OsFileConventions