public class GHGistUpdater extends Object
| Modifier and Type | Method and Description |
|---|---|
GHGistUpdater |
addFile(String fileName,
String content)
Add file gh gist updater.
|
GHGistUpdater |
description(String desc)
Description gh gist updater.
|
GHGistUpdater |
renameFile(String fileName,
String newFileName)
Rename file gh gist updater.
|
GHGist |
update()
Updates the Gist based on the parameters specified thus far.
|
GHGistUpdater |
updateFile(String fileName,
String content)
Update file gh gist updater.
|
public GHGistUpdater addFile(String fileName, String content) throws IOException
fileName - the file namecontent - the contentIOException - the io exceptionpublic GHGistUpdater renameFile(String fileName, String newFileName) throws IOException
fileName - the file namenewFileName - the new file nameIOException - the io exceptionpublic GHGistUpdater updateFile(String fileName, String content) throws IOException
fileName - the file namecontent - the contentIOException - the io exceptionpublic GHGistUpdater description(String desc)
desc - the descpublic GHGist update() throws IOException
IOException - the io exceptionCopyright © 2020. All rights reserved.