Class Sources


  • public final class Sources
    extends java.lang.Object
    Utility class for provided source formats.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Set<SourceFormat> defineAs​(SourceFormat... format)
      Creates a set containing the specified source formats.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • defineAs

        public static java.util.Set<SourceFormat> defineAs​(SourceFormat... format)
        Creates a set containing the specified source formats.
        Parameters:
        format - the source formats
        Returns:
        set containing the specified source formats