public class VCSBufferUtils
extends java.lang.Object
Utility class for the reloading of Node editor buffers.
| Modifier and Type | Method and Description |
|---|---|
static void |
reloadBuffer(java.net.URL url)
Silently reloads the buffer of the node for the given URL.
|
static void |
reloadBuffer(java.net.URL[] urls)
Silently reloads the buffer of nodes for the given URLs.
|
static void |
reloadBuffers(java.util.Map<Node,java.lang.Long> timestampMap)
Reloads the buffers of nodes for those files with updated timestamps.
|
static java.util.Map<Node,java.lang.Long> |
storeAllTimestamps()
Creates a timestamp store for later use with
reloadBuffers(Map). |
static java.util.Map<Node,java.lang.Long> |
storeTimestamps(java.util.Collection<?> nodes)
Creates a timestamp store for later use with
reloadBuffers(Map). |
public static java.util.Map<Node,java.lang.Long> storeAllTimestamps()
reloadBuffers(Map).NodeUtil.storeAllTimestamps(Map)public static java.util.Map<Node,java.lang.Long> storeTimestamps(java.util.Collection<?> nodes)
reloadBuffers(Map).NodeUtil.storeTimestamps(Map,Collection)public static void reloadBuffers(java.util.Map<Node,java.lang.Long> timestampMap)
NodeUtil.reloadBuffers(Map,Set)public static void reloadBuffer(java.net.URL url)
NodeUtil.reloadNodes(Collection,Set)public static void reloadBuffer(java.net.URL[] urls)
NodeUtil.reloadNodes(Collection,Set)