Android Utililty Methods Path Relative Get

List of utility methods to do Path Relative Get


The list of methods to do Path Relative Get are organized into topic(s).


StringconvertToRelativePath(String absolutePath, String relativeTo)
taken from
StringgetPathRelativeTo(File fileChild, File fileRoot)
Returns that portion of the path of fileChild which is relative to the path of fileRoot.
StringgetRelativeFileName(File file, File basedir)
Gets a relative file from a filename against a base directory.
StringgetRelativePath(File parent, File file)
get Relative Path
StringgetWindowsRelativePath(String basedir, String path)
get Windows Relative Path
StringrelativePathFromBase(File file, File basedir)
relative Path From Base