P-Grid v2.0a2 API Specification

Uses of Interface
p2p.storage.Type

Packages that use Type
p2p.storage   
 

Uses of Type in p2p.storage
 

Methods in p2p.storage that return Type
abstract  Type StorageFactory.createType(String type)
          Creates a Type instance compatible with the Storage implementation.
 Type Query.getType()
          Get the type of items the query considers, e.g. text/file, etc.
 Type DataItem.getType()
          Get the item's type of content.
 

Methods in p2p.storage with parameters of type Type
 void Storage.addStorageListener(StorageListener listener, Type type)
          Register a listener of events related to data items.
abstract  DataItem StorageFactory.createDataItem(Type type, Object data)
          Create a DataItem instance compatible with the Storage implementation.
abstract  Query StorageFactory.createQuery(Type type, String queryString)
          Create a Query instance compatible with the Storage implementation.
abstract  Query StorageFactory.createQuery(Type type, String lowerBound, String higherBound)
          Create a Query instance compatible with the Storage implementation.
abstract  void StorageFactory.registerTypeHandler(Type type, TypeHandler handler)
          Registers a Type Handler instance for a given Type.
 


P-Grid v2.0a2 API Specification

This is open source software distributed under the terms of the GNU General Public License, a copy of which is included in the file LICENSE. If not you can find the GPL at http://www.gnu.org/copyleft/gpl.txt