public class OutputContext extends Object
| Constructor and Description |
|---|
OutputContext()
Instantiates a new strategy context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getRolloverState()
Gets the rollover state.
|
Path |
init(Path path)
Inits the context from a
Path |
Path |
resolvePath(Path path)
Resolve path.
|
void |
rollStrategies()
Roll strategies.
|
void |
setCodecInfo(CodecInfo codecInfo)
Sets the codec info.
|
void |
setFileNamingStrategy(FileNamingStrategy fileNamingStrategy)
Sets the file naming strategy.
|
void |
setRolloverStrategy(RolloverStrategy rolloverStrategy)
Sets the rollover strategy.
|
void |
setWritePosition(long position)
Sets the write position.
|
public void setWritePosition(long position)
position - the new write positionpublic boolean getRolloverState()
public void rollStrategies()
public Path resolvePath(Path path)
path - the pathpublic Path init(Path path)
Pathpath - the pathpublic void setCodecInfo(CodecInfo codecInfo)
codecInfo - the new codec infopublic void setFileNamingStrategy(FileNamingStrategy fileNamingStrategy)
fileNamingStrategy - the new file naming strategypublic void setRolloverStrategy(RolloverStrategy rolloverStrategy)
rolloverStrategy - the new rollover strategy