Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
ShellOutputReceiverStream
public final class ShellOutputReceiverStream
extends Object
java.lang.Объект |
↳ | com.android.tradefed.util.ShellOutputReceiverStream |
Служебный подкласс OutputStream, который записывает в IShellOutputReceiver.
Краткое содержание
Публичные методы |
---|
void | close () |
void | flush () |
void | write (byte[] b) |
void | write (byte[] b, int off, int len) |
void | write (int b) |
Общественные конструкторы
ShellOutputReceiverStream
public ShellOutputReceiverStream (IShellOutputReceiver receiver)
Создайте новый адаптер для данного IShellOutputReceiver
.
Здесь допустимо предоставить нулевой получатель, чтобы упростить код с использованием адаптера, т. е. чтобы его можно было использовать с try-with-resources без проверки самого нулевого получателя.
Параметры |
---|
receiver | IShellOutputReceiver |
ShellOutputReceiverStream
public ShellOutputReceiverStream (IShellOutputReceiver receiver,
FileOutputStream fileOutput)
Параметры |
---|
receiver | IShellOutputReceiver |
fileOutput | FileOutputStream |
Публичные методы
закрывать
public void close ()
румянец
public void flush ()
писать
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)
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-09-12 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":"Другое"
}]
{"lastModified": "\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435: 2024-09-12 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-09-12 UTC."]]