Class License

java.lang.Object
org.eolang.jeo.representation.License
All Implemented Interfaces:
org.cactoos.Scalar<String>

public final class License extends Object implements org.cactoos.Scalar<String>
Representation of project license.
Since:
0.6.27
  • Constructor Details

    • License

      public License()
      Ctor with default value.
    • License

      public License(String content)
      Primary ctor.
      Parameters:
      content - The name of file with license.
  • Method Details

    • value

      public String value()
      Specified by:
      value in interface org.cactoos.Scalar<String>
    • toString

      public String toString()
      Overrides:
      toString in class Object