Package org.jboss.virtual.spi

Examples of org.jboss.virtual.spi.Options


            try
            {
               VFSContext context = getVFSContext();
               String path = getPathName();

               Options options = context.getOptions();
               VirtualFileHandler oldRoot = options.getOption(VirtualFileHandler.class);
               if (oldRoot == null)
               {
                  StringBuffer buf = new StringBuffer();

                  URI rootURI = context.getRootURI();
View Full Code Here


    *
    * @return true if temporary, false otherwise
    */
   protected boolean isTemporary()
   {
      Options options = getVFSContext().getOptions();
      return options.getBooleanOption(VFSUtils.IS_TEMP_FILE);
   }
View Full Code Here

    *
    * @return map containing aggregated options
    */
   public Options getAggregatedOptions()
   {
      Options aggregatedOptions = createNewOptions();
      VFSContext peerContext = getPeerContext();
      if (peerContext != null)
         aggregatedOptions.merge(peerContext.getOptions());
      aggregatedOptions.merge(super.getOptions()); // put them after peer, possible override
      return aggregatedOptions;
   }
View Full Code Here

         realURL = urlInfo.toURL();
         return wrapper;
      }
      else
      {
         Options aggregatedOptions = getAggregatedOptions();
         boolean noReaper = aggregatedOptions.getBooleanOption(VFSUtils.NO_REAPER_QUERY);
         realURL = urlInfo.toURL();
         boolean isAutoClean = autoClean || aggregatedOptions.getBooleanOption(VFSUtils.IS_TEMP_FILE);
         return new ZipFileWrapper(file, isAutoClean, noReaper);
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.virtual.spi.Options

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.