Package org.pcre4j

Class Pcre2GeneralContext

java.lang.Object
org.pcre4j.Pcre2GeneralContext

public class Pcre2GeneralContext extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new general context using system default memory management functions
    Pcre2GeneralContext(org.pcre4j.api.IPcre2 api)
    Create a new general context using system default memory management functions
  • Method Summary

    Modifier and Type
    Method
    Description
    org.pcre4j.api.IPcre2
    api()
    Get the PCRE2 API backing this general context
    long
    Get the handle of the general context

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Pcre2GeneralContext

      public Pcre2GeneralContext()
      Create a new general context using system default memory management functions
    • Pcre2GeneralContext

      public Pcre2GeneralContext(org.pcre4j.api.IPcre2 api)
      Create a new general context using system default memory management functions
      Parameters:
      api - the PCRE2 API to use
  • Method Details

    • api

      public org.pcre4j.api.IPcre2 api()
      Get the PCRE2 API backing this general context
      Returns:
      the PCRE2 API
    • handle

      public long handle()
      Get the handle of the general context
      Returns:
      the handle of the general context