Java String Remove removeFromSearchPath(String _path)

Here you can find the source of removeFromSearchPath(String _path)

Description

remove From Search Path

License

Open Source License

Declaration

public static void removeFromSearchPath(String _path) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.List;

public class Main {
    private static List<String> searchPaths;

    public static void removeFromSearchPath(String _path) {
        String path = _path.codePointAt(_path.length() - 1) != '/' ? _path + "/" : _path;
        if (searchPaths.contains(path))
            searchPaths.remove(path);/* w ww.ja  v  a  2s.c om*/
    }
}

Related

  1. removeEmpties(final String... values)
  2. removeEscape(String s_)
  3. removeExtraSpacesAndSpecialCharacters(String toSearch, boolean setAllToLowerCase)
  4. removeField(BSONObject b, String fieldName)
  5. removeFillers(String str)
  6. removeGender(String pos)
  7. removeGenericQuote(String str)
  8. removeIllegalXMLChars(String in)
  9. removeImportClass(String className)