| 14510 | } |
| 14511 | |
| 14512 | String XmlDocument::getFileContents (const String& filename) const |
| 14513 | { |
| 14514 | if (inputSource != nullptr) |
| 14515 | { |
| 14516 | const ScopedPointer <InputStream> in (inputSource->createInputStreamFor (filename.trim().unquoted())); |
| 14517 | |
| 14518 | if (in != nullptr) |
| 14519 | return in->readEntireStreamAsString(); |
| 14520 | } |
| 14521 | |
| 14522 | return String::empty; |
| 14523 | } |
| 14524 | |
| 14525 | juce_wchar XmlDocument::readNextChar() noexcept |
| 14526 | { |
nothing calls this directly
no test coverage detected