Package java.util.logging

Examples of java.util.logging.Logger.fine()


    httpClient.setProxyPort(proxy.getLocalPort());
    httpClient.setProxyUser("test");
   

    try {
      LOG.fine("call");
      httpClient.call(new GetRequest("http://www.amazon.de/"));
      Assert.fail("IOException expected");
    } catch (IOException expected) {  }
   
   
View Full Code Here


      httpClient.call(new GetRequest("http://www.amazon.de/"));
      Assert.fail("IOException expected");
    } catch (IOException expected) {  }
   
   
    LOG.fine("returned");
    httpClient.close();
    proxy.close();
 
 
 
View Full Code Here

   * Does the actual work for loading the children.  performed on the swing
   * gui thread.
   */
  private void doLoadChildren() {
    Logger logger = Logger.getLogger("Store." + getStoreInfo().getStoreID());
    logger.fine("calling loadChildren() for " + getStoreInfo().getStoreID());

    Enumeration origChildren = super.children();
    Vector origChildrenVector = new Vector();
    while (origChildren.hasMoreElements())
      origChildrenVector.add(origChildren.nextElement());
View Full Code Here

    while (origChildren.hasMoreElements())
      origChildrenVector.add(origChildren.nextElement());

    boolean changed = false;

    logger.fine(getStoreInfo().getStoreID() + ":  origChildrenVector.size() = " + origChildrenVector.size());

    Vector storeChildren = getStoreInfo().getChildren();

    logger.fine(getStoreInfo().getStoreID() + ":  storeChildren.size() = " + storeChildren.size());
View Full Code Here

    logger.fine(getStoreInfo().getStoreID() + ":  origChildrenVector.size() = " + origChildrenVector.size());

    Vector storeChildren = getStoreInfo().getChildren();

    logger.fine(getStoreInfo().getStoreID() + ":  storeChildren.size() = " + storeChildren.size());

    if (storeChildren != null) {
      for (int i = 0; i < storeChildren.size(); i++) {
        FolderNode node = popChild(((FolderInfo)storeChildren.elementAt(i)).getFolderName(), origChildrenVector);
        if (node == null) {
View Full Code Here

              jfc.setMultiSelectionEnabled(true);
              jfc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
              int returnValue = jfc.showDialog(getParentContainer(), Pooka.getProperty("FolderEditorPane.Select", "Select"));

              if (returnValue == JFileChooser.APPROVE_OPTION) {
                guiLogger.fine("got " + jfc.getSelectedFile() + " as a return value.");

                final java.io.File[] selectedFiles = jfc.getSelectedFiles();

                getStoreInfo().getStoreThread().addToQueue(new javax.swing.AbstractAction() {
                    public void actionPerformed(java.awt.event.ActionEvent ae) {
View Full Code Here

                          // if it doesn't exist, try to create it.
                          if (! wrapper.exists()) {
                            wrapper.getFolder().create(Folder.HOLDS_MESSAGES);
                          }
                          String absFileName = wrapper.getAbsolutePath();
                          guiLogger.fine("absFileName=" + absFileName);
                          int firstSlash = absFileName.indexOf('/');
                          String normalizedFileName = absFileName;
                          if (firstSlash >= 0)
                            normalizedFileName = absFileName.substring(firstSlash);
View Full Code Here

                          int firstSlash = absFileName.indexOf('/');
                          String normalizedFileName = absFileName;
                          if (firstSlash >= 0)
                            normalizedFileName = absFileName.substring(firstSlash);

                          guiLogger.fine("adding folder " + normalizedFileName + "; absFileName = " + absFileName);
                          storeLogger.fine("adding folder " + normalizedFileName);

                          getStoreInfo().subscribeFolder(normalizedFileName);
                        } catch (MessagingException me) {
                          final String folderName = wrapper.getName();
View Full Code Here

            int i = 0;
            for (AbstractConverterDefinition convDef : converterList) {
                conv[i++] = convDef.createConverter();
            }

            logger.fine("has " + conv.length + " converters and " + classes.length + " classes");
            for (int convIndex = 0; convIndex < conv.length; convIndex++) {
                for (int classIndex = 0; classIndex < classes.length; classIndex++) {
                    conv[convIndex].convert(classes[classIndex]);
                }
                conv[convIndex].finish();
View Full Code Here

    public Void call() {
        try {
            Logger LOG = Logger.getLogger(HubLauncher.class.getName());
            configureLoggers();
            LOG.fine("Grid Hub preparing to start on port " + port);
            GridHubConfiguration c = GridHubConfiguration.build(args);
            c.setPort(port);
            c.setCapabilityMatcher(new JenkinsCapabilityMatcher(Channel.current(), c.getCapabilityMatcher()));
            Hub hub = new Hub(c);
            hub.start();
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.