com.github.dockerjava.client.command
Class CopyFileFromContainerCmd

java.lang.Object
  extended by com.github.dockerjava.client.command.AbstrDockerCmd<CopyFileFromContainerCmd,com.sun.jersey.api.client.ClientResponse>
      extended by com.github.dockerjava.client.command.CopyFileFromContainerCmd
All Implemented Interfaces:
DockerCmd<com.sun.jersey.api.client.ClientResponse>

public class CopyFileFromContainerCmd
extends AbstrDockerCmd<CopyFileFromContainerCmd,com.sun.jersey.api.client.ClientResponse>

Copy files or folders from a container.


Field Summary
 
Fields inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
baseResource
 
Constructor Summary
CopyFileFromContainerCmd(String containerId, String resource)
           
 
Method Summary
protected  com.sun.jersey.api.client.ClientResponse impl()
           
 CopyFileFromContainerCmd withContainerId(String containerId)
           
 CopyFileFromContainerCmd withResource(String resource)
           
 
Methods inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
exec, withBaseResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyFileFromContainerCmd

public CopyFileFromContainerCmd(String containerId,
                                String resource)
Method Detail

withContainerId

public CopyFileFromContainerCmd withContainerId(String containerId)

withResource

public CopyFileFromContainerCmd withResource(String resource)

impl

protected com.sun.jersey.api.client.ClientResponse impl()
                                                 throws DockerException
Throws:
DockerException


Copyright © 2014. All rights reserved.