Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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 deregisterTrackingFilter(URLFilter filter)
           
static void registerTrackingFilter(URLFilter filter)
           
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

registerTrackingFilter

public static final void registerTrackingFilter(URLFilter filter)

deregisterTrackingFilter

public static final void deregisterTrackingFilter(URLFilter filter)

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)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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