java.io.File



API Populatity

389 Client projects

Project: java

Package: java.io

Project Codecademy/EventHub in file ...com.mobicrave.eventtracker.EventTrackerModule.java (2014-04-21)
@@ -11,6 +11,7 @@ import com.mobicrave.eventtracker.storage.BloomFilteredEventStorage;
 import com.mobicrave.eventtracker.storage.BloomFilteredUserStorage;
 
 import javax.inject.Named;
+import java.io.File;
 import java.util.Properties;
 
 public class EventTrackerModule extends AbstractModule {
@@ -23,6 +24,7 @@ public class EventTrackerModule extends AbstractModule {
   @Override
   protected void configure() {
     Names.bindProperties(super.binder(), properties);
+    new File(properties.getProperty("eventtracker.directory")).mkdirs();
   }
 
   @Provides
Project JetBrains/intellij-community in file ...pport2.javacvsImpl.ProjectContentInfoProvider.java (2007-07-11)
@@ -2,6 +2,9 @@ package com.intellij.cvsSupport2.javacvsImpl;
 
 import com.intellij.openapi.vfs.VirtualFile;
 
+import java.io.File;
+
 public interface ProjectContentInfoProvider {
   boolean fileIsUnderProject(VirtualFile file);
+  boolean fileIsUnderProject(File file);
 }
Project JetBrains/intellij-community in file ...ains.idea.svn.commandLine.LineCommandListener.java (2013-09-16)
@@ -17,8 +17,6 @@ package org.jetbrains.idea.svn.commandLine;
 
 import com.intellij.openapi.vcs.LineProcessEventListenerAdapter;
 
-import java.io.File;
-
 /**
  * Created with IntelliJ IDEA.
  * User: Irina.Chernushina
@@ -28,8 +26,6 @@ import java.io.File;
 public abstract class LineCommandListener extends LineProcessEventListenerAdapter {
   private boolean myCanceled;
 
-  public abstract void baseDirectory(final File file);
-
   public void cancel() {
     myCanceled = true;
   }