Package org.astrogrid.store.tree

Tree-interface to myspace store

See:
          Description

Interface Summary
Container Representation of a container in an Astrogrid Store.
File Representation of a File in an Astrogrid Store
Node A wrapper for the AstroGrid StoreFile to make it easier to integrate into Aladin.
TreeClient An adapter to enable Aladin to access files in AstroGrid MySpace.
 

Class Summary
IterationSixTreeClient Implementation of the TreeClient interfaces against the Iteration6 VoSpace client.
TreeClientFactory Factory class, to isolate aladin code from the details of which implementation is being used for the Aladin Adapter.
TreeClientMock A mock implementation of the AladinAdapter interface.
TreeClientTest A JUnit test for the Aladin adapter.
 

Exception Summary
TreeClientDuplicateException An exception thrown if attempting to create a duplicate entry.
TreeClientException A base class for all our exceptions.
TreeClientLoginException An exception thrown if the adapter fails to login.
TreeClientSecurityException An exception thrown if the adapter attempts to access something it is not allowed to.
TreeClientServiceException An exception thrown if the adapter fails to perform an action.
 

Package org.astrogrid.store.tree Description

Tree-interface to myspace store

Example of Use

	import org.astrogrid.store.tree.*;
	import org.astrogrid.community.common.ivorn.CommunityAccountIvornFactory;
	import org.astrogrid.store.Ivorn;	
	...
	Ivorn ivorn = CommunityAccountIvornFactory.createLocal("username");   
	TreeClientFactory fac = new TreeClientFactory();
	TreeClient tc = fac.createClient();
	tc.login(ivorn,"secret password");
	Container root = tc.getRoot();
	System.out.println(root);
	...



Copyright © 2002-2005 AstroGrid. All Rights Reserved.