Remote System Explorer DataStore
Release 3.3

org.eclipse.dstore.core.java
Class ClassByteStreamHandlerRegistry

java.lang.Object
  extended by org.eclipse.dstore.core.java.ClassByteStreamHandlerRegistry

public class ClassByteStreamHandlerRegistry
extends Object


Constructor Summary
ClassByteStreamHandlerRegistry()
           
 
Method Summary
 IClassByteStreamHandler getClassByteStreamHandler(String id)
          Returns the class byte stream handler with the specified id.
 IClassByteStreamHandler getDefault()
          Returns the default class byte stream handler
 void registerClassByteStreamHandler(IClassByteStreamHandler handler)
          Registers a class byte stream handler.
 void setDefaultClassByteStreamHandler(IClassByteStreamHandler handler)
          Registers the default class byte stream handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassByteStreamHandlerRegistry

public ClassByteStreamHandlerRegistry()
Method Detail

setDefaultClassByteStreamHandler

public void setDefaultClassByteStreamHandler(IClassByteStreamHandler handler)
Registers the default class byte stream handler

Parameters:
handler - the default byte stream handler

registerClassByteStreamHandler

public void registerClassByteStreamHandler(IClassByteStreamHandler handler)
Registers a class byte stream handler.

Parameters:
handler - the handler to register

getClassByteStreamHandler

public IClassByteStreamHandler getClassByteStreamHandler(String id)
Returns the class byte stream handler with the specified id. If "default" is specified or no such id has been registered, the default byte stream handler is returned.

Parameters:
id - the id of the byte stream handler
Returns:
the byte stream handler

getDefault

public IClassByteStreamHandler getDefault()
Returns the default class byte stream handler

Returns:
the default

Remote System Explorer DataStore
Release 3.3

Copyright (c) IBM Corporation and others 2000, 2011. All Rights Reserved.