Examples of toLowerCase()


Examples of java.lang.String.toLowerCase()

  {
    String filename = CBUtility.chooseFileToSave(this, "Please specify a location to save this certificate",
        new String[] {"der"}, "Certificate file (*.der)");
    if (filename == null) return;

    if (!filename.toLowerCase().endsWith(".der"))
      filename = filename + ".der";

    if (!CBUtility.okToWriteFile(CBUtility.getParentFrame(this), filename))
    {
      return;
View Full Code Here

Examples of java.lang.String.toLowerCase()

        // not a message we can handle.
        if (mail.getContentType().indexOf("text/") != 0) {
            throw new SieveMailException("Message is not of type 'text'");
        }
        String body = (String) mail.getContent();
        body = body.toLowerCase();

        // Compare each test string with body, ignoring case
        ListIterator iter = strings.getList().listIterator();
        while (iter.hasNext()) {
            String str = (String) iter.next();
View Full Code Here

Examples of java.lang.String.toLowerCase()

        // Compare each test string with body, ignoring case
        ListIterator iter = strings.getList().listIterator();
        while (iter.hasNext()) {
            String str = (String) iter.next();
            if (body.indexOf(str.toLowerCase()) != -1) {
                return true;
            }
        }
        return false;
    }
View Full Code Here

Examples of java.lang.String.toLowerCase()

        // CUSTOM NUMBERS start
        boolean convert = Character.isLetter(s.charAt(s.length()-1)) && !s.contains("x");
        Number n;
        if (convert) {
            n = matchNumber(s.substring(0, s.length()-1));
            s = s.toLowerCase();
            if (s.endsWith("d")) {
                n = n.doubleValue();
            } else if (s.endsWith("f")) {
                n = n.floatValue();
            } else if (s.endsWith("l")) {
View Full Code Here

Examples of net.sf.saxon.s9api.QName.toLowerCase()

                if (XProcConstants.c_header.equals(event.getNodeName())) {
                    String name = event.getAttributeValue(_name);
                    if (name == null) {
                        continue; // this can't happen, right?
                    }
                    if (name.toLowerCase().equals("content-type")) {
                        // We'll deal with the content-type header later
                        headerContentType = event.getAttributeValue(_value).toLowerCase();
                    } else {
                        headers.add(new BasicHeader(event.getAttributeValue(_name), event.getAttributeValue(_value)));
                    }
View Full Code Here

Examples of net.yacy.kelondro.data.meta.DigestURI.toLowerCase()

            } else if(post.containsKey(YMarkEntry.BOOKMARK.URL.key())) {
            String url = post.get(YMarkEntry.BOOKMARK.URL.key(),YMarkEntry.BOOKMARK.URL.deflt());
        boolean hasProtocol = false;
        for (final YMarkTables.PROTOCOLS p : YMarkTables.PROTOCOLS.values()) {
          if(url.toLowerCase().startsWith(p.protocol())) {
            hasProtocol = true;
            break;
          }
        }
        if (!hasProtocol) {
View Full Code Here

Examples of org.eclipse.jdt.core.dom.SimpleName.toLowerCase()

      private String getPropertyName(String name) {
        if (name.length() > 1)
          return name.substring(0, 1).toLowerCase() + name.substring(1);
        else
          return name.toLowerCase();
      }
    });
  }

  private void addIfNotExist(String newItem, List list) {
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.