Class FileOfClasses

java.lang.Object
com.ibm.wala.util.config.SetOfClasses
com.ibm.wala.util.config.FileOfClasses
All Implemented Interfaces:
StringFilter, Serializable, Predicate<String>

@Deprecated(since="1.6.12", forRemoval=true) public class FileOfClasses extends SetOfClasses
Deprecated, for removal: This API element is subject to removal in a future version.
Use PatternsFilter instead.
An object which represents a set of classes read from a text file.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String klass)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    contains(String klassName)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Provides a JSON-compatible representation of this filter for use in serialization.
    @Nullable String
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class SetOfClasses

    test

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface Predicate

    and, negate, or
  • Constructor Details

    • FileOfClasses

      public FileOfClasses(InputStream input) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
  • Method Details

    • contains

      public boolean contains(String klassName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      contains in class SetOfClasses
    • add

      public void add(String klass)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      add in class SetOfClasses
    • toString

      public @Nullable String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object
    • toJson

      public String toJson()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: StringFilter
      Provides a JSON-compatible representation of this filter for use in serialization.

      JSON-compatible types include String, List of a JSON-compatible type, Map from String to a JSON-compatible type, etc..

      Returns:
      a JSON-compatible representation of this filter