Enum BashQuoteType

    • Enum Constant Detail

      • BashDoubleExpand

        public static final BashQuoteType BashDoubleExpand
      • BashDoubleNoExpand

        public static final BashQuoteType BashDoubleNoExpand
    • Method Detail

      • values

        public static BashQuoteType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BashQuoteType c : BashQuoteType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BashQuoteType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getPostfix

        public String getPostfix()
        Description copied from interface: IQuoteType
        The postfix to use when quoting a string. For example this may be a single double quote character.
        Specified by:
        getPostfix in interface IQuoteType
        Returns:
        the postfix to use when quoting a string.
      • getPrefix

        public String getPrefix()
        Description copied from interface: IQuoteType
        The prefix to use when quoting a string. For example this may be a single double quote character.
        Specified by:
        getPrefix in interface IQuoteType
        Returns:
        the prefix to use when quoting a string.