Package com.nexmo.client.voice
Class Recording
- java.lang.Object
-
- com.nexmo.client.voice.Recording
-
public class Recording extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Recording(org.apache.http.HttpResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamgetContent()voidsave(java.lang.String path)voidsave(java.nio.file.Path path)
-
-
-
Constructor Detail
-
Recording
public Recording(org.apache.http.HttpResponse response)
-
-
Method Detail
-
getContent
public java.io.InputStream getContent() throws java.io.IOException
- Throws:
java.io.IOException
-
save
public void save(java.lang.String path) throws java.io.IOException
- Throws:
java.io.IOException
-
save
public void save(java.nio.file.Path path) throws java.io.IOException
- Throws:
java.io.IOException
-
-