MCPcopy Create free account
hub / github.com/afkT/DevUtils / openFile

Method openFile

lib/DevApp/src/main/java/dev/utils/app/AppUtils.java:1993–1998  ·  view source on GitHub ↗

打开文件 @param filePath 文件路径 @param dataType 数据类型 @return true success, false fail

(
            final String filePath,
            final String dataType
    )

Source from the content-addressed store, hash-verified

1991 * @return {@code true} success, {@code false} fail
1992 */
1993 public static boolean openFile(
1994 final String filePath,
1995 final String dataType
1996 ) {
1997 return openFile(FileUtils.getFileByPath(filePath), dataType);
1998 }
1999
2000 /**
2001 * 打开文件

Callers 2

openPDFFileMethod · 0.95
openWordFileMethod · 0.95

Calls 6

getFileByPathMethod · 0.95
isFileExistsMethod · 0.95
getUriForFileMethod · 0.95
startActivityMethod · 0.95
eTagMethod · 0.95
addFlagsMethod · 0.65

Tested by

no test coverage detected