@ Override public void createSpace ( String spaceId ) { ConnectOperation co = new ConnectOperation ( host , port , username , password , zone ) ; try { IrodsOperations io = new IrodsOperations ( co ) ; io . mkdir ( baseDirectory + "/" + spaceId ) ; log . trace ( "Created space/directory: " + baseDirectory + "/" + spaceId ) ; } catch ( IOException e ) { log . error ( "Could not connect to iRODS" , e ) ; throw new StorageException ( e ) ; } }
Create a new directory under the baseDirectory