|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************** |
1 |
/******************************************************************************** |
| 2 |
* Copyright (c) 2007, 2009 IBM Corporation. All rights reserved. |
2 |
* Copyright (c) 2007, 2011 IBM Corporation. All rights reserved. |
| 3 |
* This program and the accompanying materials are made available under the terms |
3 |
* This program and the accompanying materials are made available under the terms |
| 4 |
* of the Eclipse Public License v1.0 which accompanies this distribution, and is |
4 |
* of the Eclipse Public License v1.0 which accompanies this distribution, and is |
| 5 |
* available at http://www.eclipse.org/legal/epl-v10.html |
5 |
* available at http://www.eclipse.org/legal/epl-v10.html |
|
Lines 12-17
Link Here
|
| 12 |
* David McKnight (IBM) -[209704] [api] Ability to override default encoding conversion needed. |
12 |
* David McKnight (IBM) -[209704] [api] Ability to override default encoding conversion needed. |
| 13 |
* David McKnight (IBM) -[220379] [api] Provide a means for contributing custom BIDI encodings |
13 |
* David McKnight (IBM) -[220379] [api] Provide a means for contributing custom BIDI encodings |
| 14 |
* David McKnight (IBM) -[279014] [dstore][encoding] text file corruption can occur when downloading from UTF8 to cp1252 |
14 |
* David McKnight (IBM) -[279014] [dstore][encoding] text file corruption can occur when downloading from UTF8 to cp1252 |
|
|
15 |
* David McKnight (IBM) -[280451] IFileServiceCodePageConverter.convertClientStringToRemoteBytes() should throw runtime exception |
| 15 |
********************************************************************************/ |
16 |
********************************************************************************/ |
| 16 |
|
17 |
|
| 17 |
package org.eclipse.rse.services.files; |
18 |
package org.eclipse.rse.services.files; |
|
Lines 36-41
Link Here
|
| 36 |
* @param fs The file service to apply conversion to. |
37 |
* @param fs The file service to apply conversion to. |
| 37 |
* Can be used to determine implementation specific settings to the converter |
38 |
* Can be used to determine implementation specific settings to the converter |
| 38 |
* @return The bytes to upload to the server |
39 |
* @return The bytes to upload to the server |
|
|
40 |
* @throws RuntimeException (wrapping a CharacterCodingException or IOException) in case of an error transposing from source to target encoding |
| 39 |
*/ |
41 |
*/ |
| 40 |
public byte [] convertClientStringToRemoteBytes(String remotePath, String clientString, String remoteEncoding, IFileService fs); |
42 |
public byte [] convertClientStringToRemoteBytes(String remotePath, String clientString, String remoteEncoding, IFileService fs); |
| 41 |
|
43 |
|