public interface PokemonConverterProxy
Pokemon
to and from a given text formatModifier and Type | Method and Description |
---|---|
default java.util.List<java.lang.String> |
getExportText(java.util.Collection<Pokemon> pokemon)
Converts the given
Pokemon into a List of formatted text |
default java.util.List<java.lang.String> |
getExportText(PartyStorage party)
|
default java.util.List<java.lang.String> |
getExportText(Pokemon... pokemon)
Converts the given
Pokemon into a List of formatted text |
java.lang.String |
getExportText(Pokemon data)
Used for converting the
Pokemon to the formatted text |
default java.lang.String |
getFormattedExportedText(java.util.Collection<Pokemon> pokemon)
Converts the given
Pokemon into a new line seperated formatted text |
default java.lang.String |
getFormattedExportedText(PartyStorage party)
Converts the given
Pokemon in the given PartyStorage into a new line seperated formatted text |
default java.lang.String |
getFormattedExportedText(Pokemon... pokemon)
Converts the given
Pokemon into a new line seperated formatted text |
default java.util.List<Pokemon> |
importText(java.util.Collection<java.lang.String> importText)
Imports formatted text to a Pokemon instance
|
default java.util.List<Pokemon> |
importText(java.lang.String... importText)
Imports formatted text to a Pokemon instance
|
Pokemon |
importText(java.lang.String importText)
Imports formatted text to a Pokemon instance
|
default java.lang.String getFormattedExportedText(PartyStorage party)
Pokemon
in the given PartyStorage
into a new line seperated formatted textparty
- The party converteddefault java.lang.String getFormattedExportedText(java.util.Collection<Pokemon> pokemon)
Pokemon
into a new line seperated formatted textpokemon
- The pokemon converteddefault java.lang.String getFormattedExportedText(Pokemon... pokemon)
Pokemon
into a new line seperated formatted textpokemon
- The pokemon converteddefault java.util.List<java.lang.String> getExportText(PartyStorage party)
party
- The party converteddefault java.util.List<java.lang.String> getExportText(java.util.Collection<Pokemon> pokemon)
Pokemon
into a List
of formatted textpokemon
- The pokemon converteddefault java.util.List<java.lang.String> getExportText(Pokemon... pokemon)
Pokemon
into a List
of formatted textpokemon
- The pokemon convertedjava.lang.String getExportText(Pokemon data)
Pokemon
to the formatted textdata
- The pokemon being converteddefault java.util.List<Pokemon> importText(java.util.Collection<java.lang.String> importText) throws PokemonImportException
importText
- The formatted textPokemonImportException
- thrown when there's an error with the given textdefault java.util.List<Pokemon> importText(java.lang.String... importText) throws PokemonImportException
importText
- The formatted textPokemonImportException
- thrown when there's an error with the given textPokemon importText(java.lang.String importText) throws PokemonImportException
importText
- The formatted textPokemonImportException
- thrown when there's an error with the given text