컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
부분 압축 다운로드 캐시
public
class
PartialZipDownloadCache
extends Object
java.lang.Object의 클래스
|
↳ |
com.android.tradefed.build.cache.PartialZipDownloadCache
|
콘텐츠에 따라 일부 다운로드 파일을 캐시하는 유틸리티입니다. 이는 ZIP 콘텐츠를 기준으로 합니다.
메타데이터에서 무료로 제공되는 crc를 포함합니다.
요약
보호되는 생성자
부분 압축 다운로드 캐시
protected PartialZipDownloadCache ()
공개 메서드
getCachedFile 클래스의 정적 변수
public boolean getCachedFile (File targetFile,
String fileName,
String crc)
캐시에서 경로 및 crc와 일치하는 파일을 찾습니다.
매개변수 |
targetFile |
File : 파일을 반환할 위치 |
fileName |
String : 파일 경로 |
crc |
String : ZIP 파일의 체크섬 |
반환 값 |
boolean |
캐시 파일이 있는 경우 true, 그렇지 않은 경우 false |
채우기 캐시 파일
public void populateCacheFile (File toCache,
String fileName,
String crc)
캐시에 파일 채우기
매개변수 |
toCache |
File : 캐시에 넣을 파일 |
fileName |
String : 파일의 경로입니다. |
crc |
String : ZIP 파일의 crc 체크섬 |
보호된 메서드
정리
protected void cleanUpCache ()
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2024-08-24(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-08-24(UTC)"],[],[]]