public class UpdatableRegFile extends RegFile<UpdatableRegFile>
| Constructor and Description |
|---|
UpdatableRegFile(File file) |
| Modifier and Type | Method and Description |
|---|---|
RegAccessMode |
getAccessMode() |
RegHeader |
getHeader() |
String |
getName() |
int |
getSlotCount() |
long |
getVersion() |
boolean |
isAppendable() |
void |
readContents(RegContentsConsumer consumer) |
UpdatableRegFile |
saveImpl(List<? extends RegistryUpdate> deltas)
The meat of the save work - subclass specific
|
public UpdatableRegFile(File file) throws IOException, NoSuchRegistryException, InaccessibleRegFileException, RegistryFormatException
public RegHeader getHeader()
public void readContents(RegContentsConsumer consumer) throws IOException, CloverRegistryException
IOExceptionCloverRegistryExceptionpublic UpdatableRegFile saveImpl(List<? extends RegistryUpdate> deltas) throws IOException, CloverRegistryException
RegFilesaveImpl in class RegFile<UpdatableRegFile>IOExceptionCloverRegistryExceptionpublic String getName()
getName in class RegFile<UpdatableRegFile>public long getVersion()
public RegAccessMode getAccessMode()
getAccessMode in class RegFile<UpdatableRegFile>public int getSlotCount()
public boolean isAppendable()
isAppendable in class RegFile<UpdatableRegFile>Copyright © 2024 OpenClover.org. All rights reserved.