Examples of LimitedLengthResourcesAdapter


Examples of com.esri.gpt.framework.resource.adapters.LimitedLengthResourcesAdapter

  public Query createQuery(final IterationContext context, final Criteria criteria) {
    return new Query() {
      @Override
      public Result execute() {
        ResourceFolders folders = createResourceFolders(context);
        return new CommonResult(new LimitedLengthResourcesAdapter(folders, criteria.getMaxRecords()));
      }
    };
  }
View Full Code Here

Examples of com.esri.gpt.framework.resource.adapters.LimitedLengthResourcesAdapter

  @Override
  public Result execute() {
    LOGGER.log(Level.FINER, "Executing query: {0}", this);
    final DestroyableResource root = new DCATRootResource(context, info);
    Result r = new CommonResult(new LimitedLengthResourcesAdapter(root,criteria.getMaxRecords())) {
        @Override
        public void destroy() {
          root.destroy();
          info.destroy();
        }
View Full Code Here

Examples of com.esri.gpt.framework.resource.adapters.LimitedLengthResourcesAdapter

  @Override
  public Result execute() {
    LOGGER.log(Level.FINER, "Executing query: {0}", this);
    final DestroyableResource rootFolder = new TFolder(context, info, proxy, criteria, new HashSet<String>());
    Result r = new CommonResult(new LimitedLengthResourcesAdapter(rootFolder,criteria.getMaxRecords())) {
        @Override
        public void destroy() {
          rootFolder.destroy();
          info.destroy();
        }
View Full Code Here

Examples of com.esri.gpt.framework.resource.adapters.LimitedLengthResourcesAdapter

public Result execute() {
  LOGGER.log(Level.FINER, "Executing query: {0}", this);
  final DestroyableResource rootFolder = info.getUrl().toLowerCase().startsWith("ftp://") || info.getUrl().toLowerCase().startsWith("ftps://")?
          new FtpRootFolder(context, info, criteria):
          new WafFolderQuick(context, info, proxy, new HashSet<String>(), info.getUrl(), criteria);
  Result r = new CommonResult(new LimitedLengthResourcesAdapter(rootFolder,criteria.getMaxRecords())) {
      @Override
      public void destroy() {
        rootFolder.destroy();
        info.destroy();
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.