Package org.javacord.api.entity
Interface Nameable
-
- All Superinterfaces:
java.util.Formattable
- All Known Subinterfaces:
Activity,ApplicationInfo,ChannelCategory,CustomEmoji,EditableEmbedField,EmbedAuthor,EmbedField,EmbedProvider,KnownCustomEmoji,MessageAuthor,RegularServerChannel,Role,Server,ServerChannel,ServerForumChannel,ServerStageVoiceChannel,ServerTextChannel,ServerThreadChannel,ServerVoiceChannel,Sticker,StickerItem,StickerPack,UnknownRegularServerChannel,UnknownServerChannel,User
- All Known Implementing Classes:
AuditLogChangeType,Region
public interface Nameable extends java.util.FormattableThis class represents an entity which has a name.If used in a format string, a
Nameablewill be rendered as the entity's name unless the alternate flag is given.- See Also:
String.format(String, Object...)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidformatTo(java.util.Formatter formatter, int flags, int width, int precision)java.lang.StringgetName()Gets the name of the entity.
-