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
public class UnsignedAppletActionStorageExtendedImpl extends UnsignedAppletActionStorageImpl
-
-
Field Summary
-
Fields inherited from class net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.appletextendedsecurity.impl.UnsignedAppletActionStorageImpl
BACKUP_SUFFIX, currentVersion, items, versionPrefix
-
-
Constructor Summary
Constructors Constructor Description UnsignedAppletActionStorageExtendedImpl(java.io.File location)UnsignedAppletActionStorageExtendedImpl(java.lang.String location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidmodify(UnsignedAppletActionEntry source, int columnIndex, java.lang.Object aValue)intmoveDown(int selectedRow)intmoveUp(int selectedRow)voidremove(int item)voidremoveByBehaviour(ExecuteAppletAction unsignedAppletAction)private voidswap(int i, int ii)UnsignedAppletActionEntry[]toArray()voidwriteContentsLocked()Write 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, writeContents
-
Methods inherited from class net.adoptopenjdk.icedteaweb.lockingfile.LockingReaderWriter
doLocked, getBackingFile, isReadOnly, lock, unlock
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.appletextendedsecurity.UnsignedAppletActionStorage
lock, unlock
-
-
-
-
Method Detail
-
toArray
public UnsignedAppletActionEntry[] toArray()
- Returns:
- always fresh copy loaded from disc
-
clear
public void clear()
-
removeByBehaviour
public void removeByBehaviour(ExecuteAppletAction unsignedAppletAction)
-
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
public void modify(UnsignedAppletActionEntry source, int columnIndex, java.lang.Object aValue)
-
writeContentsLocked
public void writeContentsLocked() throws java.io.IOExceptionDescription copied from class:LockingReaderWriterWrite contents to the file, first acquiring a lock.- Overrides:
writeContentsLockedin classUnsignedAppletActionStorageImpl- Throws:
java.io.IOException
-
-