Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.jdeveloper.vcs.util
Class VCSBufferUtils

java.lang.Object
  extended by oracle.jdeveloper.vcs.util.VCSBufferUtils


public class VCSBufferUtils
extends java.lang.Object

Utility class for the reloading of Node editor buffers.

Since:
9.0.5

Method Summary
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).

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

storeAllTimestamps

public static java.util.Map<Node,java.lang.Long> storeAllTimestamps()
Creates a timestamp store for later use with reloadBuffers(Map).
See Also:
NodeUtil.storeAllTimestamps(Map)

storeTimestamps

public static java.util.Map<Node,java.lang.Long> storeTimestamps(java.util.Collection<?> nodes)
Creates a timestamp store for later use with reloadBuffers(Map).
See Also:
NodeUtil.storeTimestamps(Map,Collection)

reloadBuffers

public static void reloadBuffers(java.util.Map<Node,java.lang.Long> timestampMap)
Reloads the buffers of nodes for those files with updated timestamps. This method may display a UI confirmation and must be called from an AWT event thread to prevent risk of deadlock.
See Also:
NodeUtil.reloadBuffers(Map,Set)

reloadBuffer

public static void reloadBuffer(java.net.URL url)
Silently reloads the buffer of the node for the given URL. Please note that this method will cause any in-memory changes for dirty nodes to be lost when the reload is performed, so care is strongly advised.
See Also:
NodeUtil.reloadNodes(Collection,Set)

reloadBuffer

public static void reloadBuffer(java.net.URL[] urls)
Silently reloads the buffer of nodes for the given URLs. Please note that this method will cause any in-memory changes for dirty nodes to be lost when the reload is performed, so care is strongly advised.
See Also:
NodeUtil.reloadNodes(Collection,Set)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.