MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / getFileContents

Method getFileContents

3rdparty/Amalgamate/juce_core_amalgam.cpp:14512–14523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14510}
14511
14512String 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
14525juce_wchar XmlDocument::readNextChar() noexcept
14526{

Callers

nothing calls this directly

Calls 4

createInputStreamForMethod · 0.80
unquotedMethod · 0.80
trimMethod · 0.80

Tested by

no test coverage detected