Class ParsableString

java.lang.Object
dev.esophose.playerparticles.util.inputparser.Parsable<java.lang.String>
dev.esophose.playerparticles.util.inputparser.parsable.ParsableString

public class ParsableString
extends Parsable<java.lang.String>
  • Field Summary

    Fields inherited from class dev.esophose.playerparticles.util.inputparser.Parsable

    targetType
  • Constructor Summary

    Constructors 
    Constructor Description
    ParsableString()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String parse​(PPlayer pplayer, java.util.List<java.lang.String> inputs)
    Consumes and parses input from the list

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • parse

      public java.lang.String parse​(PPlayer pplayer, java.util.List<java.lang.String> inputs)
      Description copied from class: Parsable
      Consumes and parses input from the list
      Specified by:
      parse in class Parsable<java.lang.String>
      Parameters:
      pplayer - The PPlayer who entered the input
      inputs - The input contents to try parsing
      Returns:
      The parsed value or null if parsing failed