folder = $folder;
}
public function getName(): string {
return $this->folder->getName();
}
public function getDirectoryListing(): array {
$listing = $this->folder->getDirectoryListing();
$fileListing = array_map(function (Node $file) {
if ($file instanceof File) {
return new SimpleFile($file);
}
return null;
}, $listing);
$fileListing = array_filter($fileListing);
return array_values($fileListing);
}
public function delete(): void {
$this->folder->delete();
}
public function fileExists(string $name): bool {
return $this->folder->nodeExists($name);
}
public function getFile(string $name): ISimpleFile {
$file = $this->folder->get($name);
if (!($file instanceof File)) {
throw new NotFoundException();
}
return new SimpleFile($file);
}
public function newFile(string $name, $content = null): ISimpleFile {
if ($content === null) {
// delay creating the file until it's written to
return new NewSimpleFile($this->folder, $name);
} else {
$file = $this->folder->newFile($name, $content);
return new SimpleFile($file);
}
}
public function getFolder(string $name): ISimpleFolder {
$folder = $this->folder->get($name);
if (!($folder instanceof Folder)) {
throw new NotFoundException();
}
return new SimpleFolder($folder);
}
public function newFolder(string $path): ISimpleFolder {
$folder = $this->folder->newFolder($path);
return new SimpleFolder($folder);
}
}
ndabot/gradle/com.fasterxml.woodstox-woodstox-core-7.1.1
dependabot/gradle/com.github.spotbugs-6.0.24
dependabot/gradle/com.github.spotbugs-6.0.25
dependabot/gradle/com.github.spotbugs-6.0.26
dependabot/gradle/com.github.spotbugs-6.0.27
dependabot/gradle/com.github.spotbugs-6.1.0
dependabot/gradle/com.github.spotbugs-6.1.1
dependabot/gradle/com.github.spotbugs-6.1.10
dependabot/gradle/com.github.spotbugs-6.1.11
dependabot/gradle/com.github.spotbugs-6.1.12
dependabot/gradle/com.github.spotbugs-6.1.13
dependabot/gradle/com.github.spotbugs-6.1.2
dependabot/gradle/com.github.spotbugs-6.1.3
dependabot/gradle/com.github.spotbugs-6.1.4
dependabot/gradle/com.github.spotbugs-6.1.5
dependabot/gradle/com.github.spotbugs-6.1.6
dependabot/gradle/com.github.spotbugs-6.1.7
dependabot/gradle/com.github.spotbugs-6.1.9
dependabot/gradle/com.github.spotbugs-6.2.0
dependabot/gradle/com.github.spotbugs-6.2.1
dependabot/gradle/com.github.spotbugs-6.2.2
dependabot/gradle/com.github.spotbugs-6.2.3
dependabot/gradle/com.github.spotbugs-6.2.4
dependabot/gradle/com.google.guava-guava-33.3.1-jre
dependabot/gradle/com.google.guava-guava-33.4.0-jre
dependabot/gradle/com.google.guava-guava-33.4.5-jre
dependabot/gradle/com.google.guava-guava-33.4.6-jre
dependabot/gradle/com.google.guava-guava-33.4.7-jre
dependabot/gradle/com.google.guava-guava-33.4.8-jre
dependabot/gradle/commons-codec-commons-codec-1.17.2
dependabot/gradle/commons-codec-commons-codec-1.18.0
dependabot/gradle/commons-codec-commons-codec-1.19.0
dependabot/gradle/de.rototor.pdfbox-graphics2d-3.0.3
dependabot/gradle/de.thetaphi.forbiddenapis-3.8
dependabot/gradle/de.thetaphi.forbiddenapis-3.9
dependabot/gradle/junitVersion-5.11.2
dependabot/gradle/junitVersion-5.11.3
dependabot/gradle/junitVersion-5.11.4
dependabot/gradle/junitVersion-5.12.0
dependabot/gradle/junitVersion-5.12.1
dependabot/gradle/junitVersion-5.12.2
dependabot/gradle/junitVersion-5.13.0
dependabot/gradle/junitVersion-5.13.1
dependabot/gradle/junitVersion-5.13.3
dependabot/gradle/junitVersion-5.13.4
dependabot/gradle/log4jVersion-2.24.1
dependabot/gradle/log4jVersion-2.24.2
dependabot/gradle/log4jVersion-2.24.3
dependabot/gradle/log4jVersion-2.25.0
dependabot/gradle/net.bytebuddy-byte-buddy-1.15.10
dependabot/gradle/net.bytebuddy-byte-buddy-1.15.11
dependabot/gradle/net.bytebuddy-byte-buddy-1.15.3
dependabot/gradle/net.bytebuddy-byte-buddy-1.15.4
dependabot/gradle/net.bytebuddy-byte-buddy-1.15.5
dependabot/gradle/net.bytebuddy-byte-buddy-1.15.7
dependabot/gradle/net.bytebuddy-byte-buddy-1.17.0
dependabot/gradle/net.bytebuddy-byte-buddy-1.17.1
dependabot/gradle/net.bytebuddy-byte-buddy-1.17.2
dependabot/gradle/net.bytebuddy-byte-buddy-1.17.4
dependabot/gradle/net.bytebuddy-byte-buddy-1.17.5
dependabot/gradle/net.bytebuddy-byte-buddy-1.17.6
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.15.10
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.15.11
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.15.3
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.15.4
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.15.5
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.15.7
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.17.0
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.17.1
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.17.2
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.17.4
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.17.5
dependabot/gradle/net.bytebuddy-byte-buddy-agent-1.17.6
dependabot/gradle/net.sf.saxon-Saxon-HE-12.6
dependabot/gradle/net.sf.saxon-Saxon-HE-12.8
dependabot/gradle/org.apache.commons-commons-collections4-4.5.0
dependabot/gradle/org.apache.pdfbox-pdfbox-3.0.4
dependabot/gradle/org.apache.pdfbox-pdfbox-3.0.5
dependabot/gradle/org.apache.santuario-xmlsec-4.0.3
dependabot/gradle/org.apache.santuario-xmlsec-4.0.4
dependabot/gradle/org.apache.xmlbeans-xmlbeans-5.2.2
dependabot/gradle/org.cyclonedx.bom-2.0.0
dependabot/gradle/org.cyclonedx.bom-2.1.0
dependabot/gradle/org.cyclonedx.bom-2.2.0
dependabot/gradle/org.cyclonedx.bom-2.3.0
dependabot/gradle/org.junit.jupiter-junit-jupiter-5.13.3
dependabot/gradle/org.junit.jupiter-junit-jupiter-5.13.4
dependabot/gradle/org.junit.platform-junit-platform-launcher-1.12.1
dependabot/gradle/org.junit.platform-junit-platform-launcher-1.12.2
dependabot/gradle/org.junit.platform-junit-platform-launcher-1.13.0
dependabot/gradle/org.junit.platform-junit-platform-launcher-1.13.1
dependabot/gradle/org.mockito-mockito-core-5.14.1
dependabot/gradle/org.mockito-mockito-core-5.14.2
dependabot/gradle/org.mockito-mockito-core-5.15.2
dependabot/gradle/org.mockito-mockito-core-5.16.0
dependabot/gradle/org.mockito-mockito-core-5.16.1
dependabot/gradle/org.mockito-mockito-core-5.17.0
dependabot/gradle/org.mockito-mockito-core-5.18.0
dependabot/gradle/org.slf4j-slf4j-api-2.0.17
dependabot/gradle/org.slf4j-slf4j-simple-2.0.17
dependabot/gradle/org.sonarqube-6.0.0.5145
dependabot/gradle/org.sonarqube-6.1.0.5360
dependabot/gradle/org.sonarqube-6.2.0.5505
dependabot/gradle/org.xmlunit-xmlunit-core-2.10.1
dependabot/gradle/org.xmlunit-xmlunit-core-2.10.3
excelant
gsoc2012
hemf
hssf_cryptoapi
jakarta-poi
log4j
maven
mv
ooxml
performance-branch
ss_border_property_template
table-borders
trunk
wmf_render
xml_signature
xssf_structured_references
Mirror of Apache POI: https://github.com/apache/poi www-data
blob: 6c161d79279aea805057045215b98fe8a96346ab (
plain )