|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.core.resources.ISeriesMemberTransfer
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
ISeriesMemberTransfer(ISeriesMember member,
String localPath)
Constructor with default encoding UTF-8. |
|
ISeriesMemberTransfer(ISeriesMember member,
String localPath,
boolean bidiVisual)
Constructor. |
|
ISeriesMemberTransfer(ISeriesMember member,
String localPath,
String encoding)
Constructor. |
Method Summary | |
---|---|
void |
download()
Get the member from the server |
void |
download(boolean removeSequenceNumbers)
Get the member from the server |
String |
getLocalPath()
Gets the localPath where the member is to be downloaded. |
ISeriesMember |
getMember()
Gets the member. |
void |
setEncoding(String encoding)
Sets the local encoding to use. |
void |
setLocalPath(String localPath)
Sets the local path where the member should be downloaded. |
void |
setMember(ISeriesMember member)
Sets the member. |
void |
upload()
Put the member back to the server |
void |
upload(boolean insertSequenceNumbersIfRequired)
Put the member back to the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
Constructor Detail |
public ISeriesMemberTransfer(ISeriesMember member, String localPath)
member
- the member.localPath
- the local path to download to.public ISeriesMemberTransfer(ISeriesMember member, String localPath, String encoding)
member
- the member.localPath
- the local path to download to.encoding
- the encoding of the local file.public ISeriesMemberTransfer(ISeriesMember member, String localPath, boolean bidiVisual)
member
- the member.localPath
- the local path to download to.bidiVisual
- Method Detail |
public void setMember(ISeriesMember member)
member
- the member.public ISeriesMember getMember()
public void setLocalPath(String localPath)
localPath
- the local path.public String getLocalPath()
public void setEncoding(String encoding)
encoding
- the local encoding to use.public void download() throws ISeriesEncapsulatedReturnCodeException, ISeriesEncapsulatedException, com.ibm.etools.systems.core.messages.SystemMessageException
ISeriesEncapsulatedReturnCodeException
ISeriesEncapsulatedException
com.ibm.etools.systems.core.messages.SystemMessageException
public void download(boolean removeSequenceNumbers) throws ISeriesEncapsulatedReturnCodeException, ISeriesEncapsulatedException, com.ibm.etools.systems.core.messages.SystemMessageException
ISeriesEncapsulatedReturnCodeException
ISeriesEncapsulatedException
com.ibm.etools.systems.core.messages.SystemMessageException
public void upload() throws ISeriesEncapsulatedReturnCodeException, ISeriesEncapsulatedException, com.ibm.etools.systems.core.messages.SystemMessageException
ISeriesEncapsulatedReturnCodeException
ISeriesEncapsulatedException
com.ibm.etools.systems.core.messages.SystemMessageException
public void upload(boolean insertSequenceNumbersIfRequired) throws ISeriesEncapsulatedReturnCodeException, ISeriesEncapsulatedException, com.ibm.etools.systems.core.messages.SystemMessageException
insertSequenceNumbersIfRequired
- insert sequence numbers if required.
Note that if this is true
, then we first do a check to determine if the first few records
of the member are missing sequence numbers. If so, then we check each line before adding sequence
numbers to it. Otherwise, we assume no line needs sequnce numbers. This is for efficiency.
ISeriesEncapsulatedReturnCodeException
ISeriesEncapsulatedException
com.ibm.etools.systems.core.messages.SystemMessageException
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |