public static class FileProtector.ProtectedFileRange extends FileProtector.ProtectedFileSet
FileProtector.protectFileRange(java.lang.String, long).
Protection may be removed dynamically to allow file deletion using
advanceRange(long). The current lower bound can be obtained using
getRangeStart().| Modifier and Type | Method and Description |
|---|---|
void |
advanceRange(long rangeStart)
Moves the lower bound of the protected file range forward.
|
long |
getRangeStart()
Returns the current rangeStart.
|
toStringpublic long getRangeStart()
public void advanceRange(long rangeStart)
Copyright © 2024. All rights reserved.