2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
ShellOutputReceiverStream
public
final
class
ShellOutputReceiverStream
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.util.ShellOutputReceiverStream
|
IShellOutputReceiver에 쓰는 OutputStream의 유틸리티 서브클래스입니다.
요약
공개 생성자
ShellOutputReceiverStream
public ShellOutputReceiverStream (IShellOutputReceiver receiver)
지정된 IShellOutputReceiver
의 새 어댑터를 만듭니다.
어댑터를 사용하여 코드를 단순화하기 위해 여기에 null 수신기를 제공하는 것은 유효합니다. 즉, null 수신기 자체를 확인하지 않고 try-with-resources와 함께 이를 사용할 수 있습니다.
매개변수 |
receiver |
IShellOutputReceiver |
ShellOutputReceiverStream
public ShellOutputReceiverStream (IShellOutputReceiver receiver,
FileOutputStream fileOutput)
매개변수 |
receiver |
IShellOutputReceiver |
fileOutput |
FileOutputStream |
공개 메서드
도와줘
public void write (byte[] b)
도와줘
public void write (byte[] b,
int off,
int len)
매개변수 |
b |
byte |
off |
int |
len |
int |
도와줘
public void write (int b)
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-03-26(UTC)
[null,null,["최종 업데이트: 2025-03-26(UTC)"],[],[]]