public class ProcessOutputResource extends AbstractResource
Resource implementation to create an operating
system process process and capture its output.| Constructor and Description |
|---|
ProcessOutputResource(String... command) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
InputStream |
getInputStream() |
String |
toString() |
contentLength, createRelative, equals, exists, getFile, getFileForLastModifiedCheck, getFilename, getURI, getURL, hashCode, isFile, isOpen, isReadable, lastModified, readableChannelpublic ProcessOutputResource(String... command)
public String getDescription()
public InputStream getInputStream() throws IOException
IOExceptionpublic String toString()
toString in class AbstractResourceCopyright © 2022 Pivotal Software, Inc.. All rights reserved.