Java Code Examples for com.hippo.yorozuya.FileUtils#createTempFile()

The following examples show how to use com.hippo.yorozuya.FileUtils#createTempFile() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AppConfig.java    From MHViewer with Apache License 2.0 4 votes vote down vote up
@Nullable
public static File createExternalTempFile() {
    return FileUtils.createTempFile(getExternalTempDir(), null);
}
 
Example 2
Source File: AppConfig.java    From MHViewer with Apache License 2.0 4 votes vote down vote up
@Nullable
public static File createTempFile() {
    return FileUtils.createTempFile(getTempDir(), null);
}
 
Example 3
Source File: NMBAppConfig.java    From Nimingban with Apache License 2.0 4 votes vote down vote up
public static @Nullable File createRecordImageFile() {
    return FileUtils.createTempFile(getRecordImageDir(), null);
}
 
Example 4
Source File: NMBAppConfig.java    From Nimingban with Apache License 2.0 4 votes vote down vote up
public static @Nullable File createTempFile(String extension) {
    return FileUtils.createTempFile(getTempDir(), extension);
}
 
Example 5
Source File: AppConfig.java    From EhViewer with Apache License 2.0 4 votes vote down vote up
@Nullable
public static File createExternalTempFile() {
    return FileUtils.createTempFile(getExternalTempDir(), null);
}
 
Example 6
Source File: AppConfig.java    From EhViewer with Apache License 2.0 4 votes vote down vote up
@Nullable
public static File createTempFile() {
    return FileUtils.createTempFile(getTempDir(), null);
}