Package org.sonatype.nexus.proxy.item

Examples of org.sonatype.nexus.proxy.item.StringContentLocator


    }
    catch (final IllegalOperationException e) {
      throw new StorageException(e);
    }

    return new DefaultStorageFileItem(repository, request, true, true, new StringContentLocator("<repository/>"));
  }
View Full Code Here


      }
      else if (META_PATH.equals(uid.getPath())) {
        request = new ResourceStoreRequest(OBR_PATH);
        if (!storage.containsItem(repository, request)) {
          // add a temporary storage item to the list (don't actually store it)
          final ContentLocator content = new StringContentLocator("<repository/>");
          final StorageItem obrFile = new DefaultStorageFileItem(repository, request, true, true, content);
          augmentedItems.add(obrFile);
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.proxy.item.StringContentLocator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.