- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 93 for toPath (0.05 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
@Override public void store(DictionaryFile<?> file, File tempFile) { // Copy tempFile to testFile try { java.nio.file.Files.copy(tempFile.toPath(), testFile.toPath(), java.nio.file.StandardCopyOption.REPLACE_EXISTING); } catch (IOException e) { throw new RuntimeException(e); } } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
@Override public void merge(File current, File result) throws RepositoryException { try { if (current.exists()) { Files.createDirectories(result.toPath().getParent()); Files.copy(current.toPath(), result.toPath()); } ArtifactRepository localRepo = new MetadataRepository(result); metadata.storeInLocalRepository(localRepo, localRepo); merged = true;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
public void store(org.codelibs.fess.dict.DictionaryFile<?> file, File tempFile) { // Copy tempFile to testFile try { java.nio.file.Files.copy(tempFile.toPath(), testFile.toPath(), java.nio.file.StandardCopyOption.REPLACE_EXISTING); } catch (IOException e) { throw new RuntimeException(e); } } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt
* limitations under the License. */ package okhttp3 import okio.Buffer import okio.Path import okio.Path.Companion.toPath val okHttpRoot: Path get() = getEnv("OKHTTP_ROOT")!!.toPath() fun String(vararg codePoints: Int): String { val buffer = Buffer() for (codePoint in codePoints) { buffer.writeUtf8CodePoint(codePoint) } return buffer.readUtf8()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 931 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/ResourcePublicSuffixList.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.publicsuffix import okio.FileSystem import okio.Path import okio.Path.Companion.toPath import okio.Source internal class ResourcePublicSuffixList( override val path: Path = PUBLIC_SUFFIX_RESOURCE, val fileSystem: FileSystem = FileSystem.Companion.RESOURCES, ) : BasePublicSuffixList() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 1.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java
PersistedToolchains toolchains = null; if (userToolchainsFile != null && userToolchainsFile.isFile()) { try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) { toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in)); } catch (Exception e) { throw new MisconfiguredToolchainException(
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.2K bytes - Viewed (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
import okio.Path import okio.Path.Companion.toPath import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test @Tag("Slow") class OsgiTest { private lateinit var testResourceDir: Path private lateinit var workspaceDir: Path @BeforeEach fun setUp() { testResourceDir = "./build/resources/test/okhttp3/osgi".toPath() workspaceDir = testResourceDir / "workspace"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt
import assertk.assertions.isGreaterThan import assertk.assertions.isLessThan import kotlin.test.assertEquals import kotlin.test.assertFailsWith import okio.Buffer import okio.FileSystem import okio.Path.Companion.toPath import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test /** Confirm we get the expected table whether we build it from the .txt file or compact that. */ class IdnaMappingTableTest {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.9K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt
import java.net.InetAddress import java.net.UnknownHostException import okhttp3.Cache import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import okio.Path.Companion.toPath import okio.fakefilesystem.FakeFileSystem import org.junit.AssumptionViolatedException import org.junit.Before import org.junit.Test abstract class BaseOkHttpClientUnitTest {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:03:31 UTC 2025 - 2.3K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt
import okhttp3.survey.types.SuiteId import okio.FileSystem import okio.Path.Companion.toPath import org.conscrypt.Conscrypt @Suppress("ktlint:standard:property-naming") suspend fun main() { val includeConscrypt = false val client = OkHttpClient .Builder() .cache(Cache(FileSystem.SYSTEM, "build/okhttp_cache".toPath(), 100_000_000)) .build() val sslLabsClients = SslLabsClient(client).clients()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.5K bytes - Viewed (0)