get the path of a file relative to a base directory . concode_field_sep Path EMPTY_PATH concode_elem_sep Function<String,Path> TO_PATH concode_field_sep String pathWithUnixSeparatorsAndTrailingSlash concode_elem_sep String pathWithUnixSeparators concode_elem_sep String pathWithUnixSeparators concode_elem_sep boolean isGeneratedFile concode_elem_sep Function<String,Path> toPathFn concode_elem_sep Path apply concode_elem_sep boolean fileContentsDiffer concode_elem_sep String stripPathPrefixAndExtension concode_elem_sep Path createRelativeSymlink concode_elem_sep Path createRelativeSymlink concode_elem_sep String getNameWithoutExtension concode_elem_sep ImmutableSortedSet<Path> asPaths concode_elem_sep byte[] inputStreamDigest concode_elem_sep ByteSource asByteSource concode_elem_sep String pathWithPlatformSeparators concode_elem_sep String pathWithPlatformSeparators concode_elem_sep Path normalize concode_elem_sep ImmutableSet<Path> filterForSubpaths concode_elem_sep String getFileExtension concode_elem_sep Path relativize concode_elem_sep Path expandHomeDir concode_elem_sep Path absolutify concode_elem_sep Path getParentOrEmpty concode_elem_sep String pathWithWindowsSeparators
Path function ( Path arg0 , @ Nullable Path arg1 ) { if ( arg1 == null ) { arg1 = EMPTY_PATH ; } Preconditions . checkArgument ( ! arg0 . isAbsolute ( ) , "srini_string" , arg0 ) ; Preconditions . checkArgument ( ! arg1 . isAbsolute ( ) , "srini_string" , arg1 ) ; return relativize ( arg1 , arg0 ) ; }