public class DefaultPathManager extends Object implements PathManager
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultPathManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected File |
currentFile |
CTX_PREFIX| Constructor and Description |
|---|
DefaultPathManager(Context context) |
| Modifier and Type | Method and Description |
|---|---|
File |
getBaseDirectory() |
File |
getCurrentFile() |
String |
getExtension() |
AtomicInteger |
getFileIndex() |
String |
getPrefix() |
long |
getSeriesTimestamp() |
File |
nextFile() |
void |
rotate() |
void |
setBaseDirectory(File baseDirectory) |
protected File currentFile
public DefaultPathManager(Context context)
public File nextFile()
nextFile in interface PathManagerpublic File getCurrentFile()
getCurrentFile in interface PathManagerpublic void rotate()
rotate in interface PathManagerpublic File getBaseDirectory()
getBaseDirectory in interface PathManagerpublic void setBaseDirectory(File baseDirectory)
setBaseDirectory in interface PathManagerpublic long getSeriesTimestamp()
public String getPrefix()
public String getExtension()
public AtomicInteger getFileIndex()
Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.