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 PathManager
public File getCurrentFile()
getCurrentFile
in interface PathManager
public void rotate()
rotate
in interface PathManager
public File getBaseDirectory()
getBaseDirectory
in interface PathManager
public void setBaseDirectory(File baseDirectory)
setBaseDirectory
in interface PathManager
public long getSeriesTimestamp()
public String getPrefix()
public String getExtension()
public AtomicInteger getFileIndex()
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.