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()
GhostbinPaste
getLanguage
in interface GhostbinPaste
public String getExpiration()
GhostbinPaste
getExpiration
in interface GhostbinPaste
public boolean isEncrypted()
GhostbinPaste
isEncrypted
in interface GhostbinPaste
true
if encrypted, false
otherwiseCopyright © 2019. All rights reserved.