Android Utililty Methods Path Relative Get

List of utility methods to do Path Relative Get

Description

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

Method

StringconvertToRelativePath(String absolutePath, String relativeTo)
taken from http://mrpmorris.blogspot.com/2007/05/convert-absolute-path-to-relative-path.html
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