@SuppressWarnings("unchecked") WorkspaceComponent deserializeWorkspaceComponent(final ArchiveContents.ArchivedComponent archivedComponent,final InputStream input){
  try {
    Class<WorkspaceComponent> clazz=(Class<WorkspaceComponent>)Class.forName(archivedComponent.getClassName());
    WorkspaceComponent wc=deserializeWorkspaceComponent(clazz,archivedComponent.getName(),input,null);
    componentKeys.put(archivedComponent.getUri(),wc);
    wc.setChangedSinceLastSave(false);
    return wc;
  }
 catch (  ClassNotFoundException e) {
    throw new RuntimeException(e);
  }
}

@ SuppressWarnings ( "unchecked" ) WorkspaceComponent deserializeWorkspaceComponent ( final ArchiveContents . ArchivedComponent archivedComponent , final InputStream input ) { try { Class < WorkspaceComponent > clazz = ( Class < WorkspaceComponent > ) Class . forName ( archivedComponent . getClassName ( ) ) ; WorkspaceComponent wc = deserializeWorkspaceComponent ( clazz , archivedComponent . getName ( ) , input , null ) ; componentKeys . put ( archivedComponent . getUri ( ) , wc ) ; wc . setChangedSinceLastSave ( false ) ; return wc ; } catch ( ClassNotFoundException e ) { throw new RuntimeException ( e ) ; } }
deserializes a workspace component using the information from the provided component and input stream .
