congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
WatermarkerSetup.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
me.itzsomebody.radon.transformers.miscellaneous.watermarker.WatermarkerSetup
constructor

Best Java code snippets using me.itzsomebody.radon.transformers.miscellaneous.watermarker.WatermarkerSetup.<init> (Showing top 2 results out of 315)

origin: ItzSomebody/Radon

/**
 * Creates an {@link Watermarker} transformer setup accordingly to the information provided in this
 * {@link WatermarkingTab}.
 *
 * @return an {@link Watermarker} transformer setup accordingly to the information provided in this
 * {@link WatermarkingTab}.
 */
public Watermarker getWatermarker() {
  return (watermarkerEnabledCheckBox.isSelected())
      ? new Watermarker(new WatermarkerSetup(watermarkMessageField.getText(),
      watermarkKeyField.getText())) : null;
}
origin: ItzSomebody/Radon

private Watermarker getWatermarkerTransformer() {
  Object o = map.get(ConfigurationSettings.WATERMARK.getValue());
  if (o == null)
    return null;
  if (!(o instanceof Map))
    throw new IllegalConfigurationValueException(ConfigurationSettings.WATERMARK.getValue(), Map.class,
        o.getClass());
  try {
    Map<String, Object> settings = (Map) o;
    if (!(Boolean) settings.get("Enabled"))
      return null;
    String message = (String) settings.get("Message");
    String key = (String) settings.get("Key");
    return new Watermarker(new WatermarkerSetup(message, key));
  } catch (ClassCastException e) {
    throw new IllegalConfigurationValueException("Error while parsing watermark setup: " + e.getMessage());
  }
}
me.itzsomebody.radon.transformers.miscellaneous.watermarkerWatermarkerSetup<init>

Popular methods of WatermarkerSetup

  • getKey
  • getMessage

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now