Class CdnFactory

java.lang.Object
net.dzikoysk.cdn.CdnFactory

public final class CdnFactory extends Object
Factory creates some predefined CDN instances
  • Constructor Details

    • CdnFactory

      public CdnFactory()
  • Method Details

    • createStandard

      @NotNull public static @NotNull Cdn createStandard()
      Create standard CDN instance with CDN format
      Returns:
      the standard implementation
      See Also:
    • createJsonLike

      @NotNull public static @NotNull Cdn createJsonLike()
      Create CDN with JSON feature
      Returns:
      the json implementation
      See Also:
    • createYamlLike

      @NotNull public static @NotNull Cdn createYamlLike()
      Create CDN with YAML-like feature. YAML-like configuration uses:
      • Indentation based formatting
      • Colon operator after section names
      • Dash operator before array entry
      Returns:
      the yaml-like implementation
      See Also: