public class GhostbinPasteImpl extends PasteImpl implements GhostbinPaste
GhostbinPaste.Language| Constructor and Description |
|---|
GhostbinPasteImpl(String id,
String body,
String url,
GhostbinPaste.Language language,
String expiration,
boolean encrypted) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpiration()
Returns the expiration
|
GhostbinPaste.Language |
getLanguage()
Returns the language of the code in the bin.
|
boolean |
isEncrypted()
Returns whenever this paste is encrypted.
|
public GhostbinPasteImpl(String id, String body, String url, GhostbinPaste.Language language, String expiration, boolean encrypted)
public GhostbinPaste.Language getLanguage()
GhostbinPastegetLanguage in interface GhostbinPastepublic String getExpiration()
GhostbinPastegetExpiration in interface GhostbinPastepublic boolean isEncrypted()
GhostbinPasteisEncrypted in interface GhostbinPastetrue if encrypted, false otherwiseCopyright © 2019. All rights reserved.