@ Override public Set < String > getObjectId ( File uploadedFile ) throws HarvesterException { Set < String > objectIds = new HashSet < String > ( ) ; try { objectIds . add ( createDigitalObject ( uploadedFile ) ) ; } catch ( StorageException se ) { throw new HarvesterException ( se ) ; } return objectIds ; }
Get an individual uploaded file as a digital object . For consistency this should be in a list .