Class UnsignedAppletActionStorageExtendedImpl
java.lang.Object
net.adoptopenjdk.icedteaweb.lockingfile.LockingReaderWriter
net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.appletextendedsecurity.impl.UnsignedAppletActionStorageImpl
net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.appletextendedsecurity.impl.UnsignedAppletActionStorageExtendedImpl
- All Implemented Interfaces:
UnsignedAppletActionStorage
-
Field Summary
Fields inherited from class net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.appletextendedsecurity.impl.UnsignedAppletActionStorageImpl
BACKUP_SUFFIX, currentVersion, items, versionPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidmodify(UnsignedAppletActionEntry source, int columnIndex, Object aValue) intmoveDown(int selectedRow) intmoveUp(int selectedRow) voidremove(int item) voidremoveByBehaviour(ExecuteAppletAction unsignedAppletAction) private voidswap(int i, int ii) toArray()voidWrite contents to the file, first acquiring a lock.Methods inherited from class net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.appletextendedsecurity.impl.UnsignedAppletActionStorageImpl
add, getMatchingItem, getMatchingItemByBases, getMatchingItemByCodeBase, getMatchingItemByDocumentBase, getMatchingItems, readContents, readLine, toString, update, writeContent, writeContentsMethods inherited from class net.adoptopenjdk.icedteaweb.lockingfile.LockingReaderWriter
doLocked, getBackingFile, isReadOnly, lock, unlockMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.appletextendedsecurity.UnsignedAppletActionStorage
lock, unlock
-
Constructor Details
-
UnsignedAppletActionStorageExtendedImpl
-
UnsignedAppletActionStorageExtendedImpl
-
-
Method Details
-
toArray
- Returns:
- always fresh copy loaded from disc
-
clear
public void clear() -
removeByBehaviour
-
swap
private void swap(int i, int ii) -
moveUp
public int moveUp(int selectedRow) -
moveDown
public int moveDown(int selectedRow) -
remove
public void remove(int item) -
modify
-
writeContentsLocked
Description copied from class:LockingReaderWriterWrite contents to the file, first acquiring a lock.- Overrides:
writeContentsLockedin classUnsignedAppletActionStorageImpl- Throws:
IOException
-