Package net.pms.configuration

Examples of net.pms.configuration.NameFilter


    dbgPack = new DbgPacker();
    tfm = new TempFileMgr();

    try {
      filter = new NameFilter();
    } catch (ConfigurationException e) {
      filter = null;
    }

    // This should be removed soon
View Full Code Here


  public boolean isWindows() {
    return Platform.isWindows();
  }

  public static boolean filter(RendererConfiguration render, DLNAResource res) {
    NameFilter nf = instance.filter;
    if (nf == null || render == null) {
      return false;
    }

    ArrayList<String> tags = render.tags();
    if (tags == null) {
      return false;
    }

    for (String tag : tags) {
      if (nf.filter(tag, res)) {
        return true;
      }
    }

    return false;
View Full Code Here

TOP

Related Classes of net.pms.configuration.NameFilter

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.