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, readableChannel
public ProcessOutputResource(String... command)
public String getDescription()
public InputStream getInputStream() throws IOException
IOException
public String toString()
toString
in class AbstractResource
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.