Class 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 Detail

      • License

        public License()
        Ctor with default value.
      • License

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

      • value

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