public class DirHasher extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_FILE |
| Constructor and Description |
|---|
DirHasher() |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull File |
mkdirs(File root)
use the serial started from milliseconds as fileId to separate subdirectories.
|
static @NotNull File |
mkdirs(File root,
long fileId)
Separate subdirectories by fileId (serial, mills)
|
static @NotNull String |
mkdirs(long fileId)
Separate subdirectories by fileId (serial, mills)
|
public static final int MAX_FILE
@NotNull public static @NotNull File mkdirs(File root)
@NotNull public static @NotNull File mkdirs(File root, long fileId)
@NotNull public static @NotNull String mkdirs(long fileId)
Copyright © 2024. All rights reserved.