src/org/nixos/disnix/client/DisnixInterface.java
/**
	 * First transfers a closure from the client to the service
	 * and then imports the closure into the Nix store.
	 * 
	 * @param closure Path on the client to a file containing the closure
	 * @throws AxisFault If an error occurs with the transport
	 */
First transfers a closure from the client to the service
and then imports the closure into the Nix store.

@param closure Path on the client to a file containing the closure
@throws AxisFault If an error occurs with the transport
First transfers a closure from the client to the service and then imports the closure into the Nix store . @param closure Path on the client to a file containing the closure @throws AxisFault If an error occurs with the transport
public void importLocalFile(String closure) throws AxisFault
	{
		try
		{
			DataHandler	dataHandler = new DataHandler(new FileDataSource(closure));
			QName operation = new QName(NAME_SPACE, "importLocalFile");
			Object[] args = { dataHandler };
			serviceClient.invokeRobust(operation, args);
		}
		catch(AxisFault ex)
		{
			throw ex;
		}
		finally
		{
			serviceClient.cleanup();
			serviceClient.cleanupTransport();
		}
	}
public void importLocalFile ( String closure ) throws AxisFault { try { DataHandler dataHandler = new DataHandler ( new FileDataSource ( closure ) ) ; QName operation = new QName ( NAME_SPACE , "importLocalFile" ) ; Object [ ] args = { dataHandler } ; serviceClient . invokeRobust ( operation , args ) ; } catch ( AxisFault ex ) { throw ex ; } finally { serviceClient . cleanup ( ) ; serviceClient . cleanupTransport ( ) ; } }
First transfers a closure from the client to the service
 and then imports the closure into the Nix store.
First transfers a closure from the client to the service and then imports the closure into the Nix store .