/** * For internal and for testing purposes. Please use the FileSystem component to access files. */ public static InputFile create(java.io.File basedir, java.io.File file) { String relativePath = getRelativePath(basedir, file); if (relativePath != null) { return create(basedir, relativePath); } return null; }