컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
테스트출력업로더
public class TestOutputUploader
extends Object
java.lang.Object |
↳ | com.android.tradefed.cluster.TestOutputUploader |
테스트 출력 파일을 로컬 파일 시스템, GCS 또는 HTTP(S) 엔드포인트에 업로드합니다.
요약
공개 메소드 |
---|
void | setUploadUrl (String url) |
String | uploadFile (File file, String destPath) 지정된 대상 경로(업로드 URL 기준)에 파일을 업로드합니다. |
공개 생성자
테스트출력업로더
public TestOutputUploader ()
공개 메소드
setUploadUrl
public void setUploadUrl (String url)
업로드파일
public String uploadFile (File file,
String destPath)
지정된 대상 경로(업로드 URL 기준)에 파일을 업로드합니다.
매개변수 |
---|
file | File : 업로드할 파일 |
destPath | String : 상대 대상 경로 |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2023-12-01(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]
{
"last_modified": "최종 업데이트: 2023-12-01(UTC)",
"state": ""
}